Skip to content

Commit

Permalink
Merge pull request #24 from tsalo/multifile-input
Browse files Browse the repository at this point in the history
[WIP, ENH] Allow separate data files as input.
  • Loading branch information
emdupre authored May 5, 2018
2 parents 1a0a52c + 11282c5 commit 7560f59
Show file tree
Hide file tree
Showing 4 changed files with 269 additions and 251 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ pip install https://github.com/ME-ICA/tedana/archive/master.tar.gz

## Development

We :yellow_heart: new contributors ! To get started, check out [our contributing guidelines](https://github.com/emdupre/tedana/blob/master/CONTRIBUTING.md).
We :yellow_heart: new contributors ! To get started, check out [our contributing guidelines](https://github.com/ME-ICA/tedana/blob/master/CONTRIBUTING.md).

Want to learn more about our plans for developing tedana ? Check out [our roadmap](https://github.com/emdupre/tedana/projects). Have a question, comment, or suggestion ? Open or comment on one of [our issues](https://github.com/emdupre/tedana/issues) !
Want to learn more about our plans for developing tedana ? Check out [our roadmap](https://github.com/ME-ICA/tedana/projects). Have a question, comment, or suggestion ? Open or comment on one of [our issues](https://github.com/ME-ICA/tedana/issues) !

We ask that all contributions to tedana respect our [code of conduct](https://github.com/emdupre/tedana/blob/master/Code_of_Conduct.md).
We ask that all contributions to tedana respect our [code of conduct](https://github.com/ME-ICA/tedana/blob/master/Code_of_Conduct.md).

### :earth_americas: Mozilla Global Sprint (10-11 May, 2018) :earth_africa:

Expand Down
38 changes: 19 additions & 19 deletions tedana/cli/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,18 @@ def get_parser():
required=True)
parser.add_argument('--mix',
dest='mixm',
help='Mixing matrix. If not provided, ' +
'ME-PCA & ME-ICA is done.',
help=('Mixing matrix. If not provided, '
'ME-PCA & ME-ICA is done.'),
default=None)
parser.add_argument('--ctab',
dest='ctab',
help='Component table extract pre-computed ' +
'classifications from.',
help=('Component table from which to extract '
'pre-computed classifications.'),
default=None)
parser.add_argument('--manacc',
dest='manacc',
help='Comma separated list of manually ' +
'accepted components',
help=('Comma separated list of manually '
'accepted components'),
default=None)
parser.add_argument('--strict',
dest='strict',
Expand All @@ -47,27 +47,27 @@ def get_parser():
default=False)
parser.add_argument('--kdaw',
dest='kdaw',
help='Dimensionality augmentation weight ' +
'(Kappa). Default 10. -1 for low-dimensional ICA',
help=('Dimensionality augmentation weight (Kappa). '
'Default 10. -1 for low-dimensional ICA'),
default=10.)
parser.add_argument('--rdaw',
dest='rdaw',
help='Dimensionality augmentation weight (Rho). ' +
'Default 1. -1 for low-dimensional ICA',
help=('Dimensionality augmentation weight (Rho). '
'Default 1. -1 for low-dimensional ICA'),
default=1.)
parser.add_argument('--conv',
dest='conv',
help='Convergence limit. Default 2.5e-5',
default='2.5e-5')
parser.add_argument('--sourceTEs',
dest='ste',
help='Source TEs for models. ex: -ste 0 for all, ' +
'-1 for opt. com. Default -1.',
help=('Source TEs for models. ex: -ste 0 for all, '
'-1 for opt. com. Default -1.'),
default=-1)
parser.add_argument('--combmode',
dest='combmode',
help='Combination scheme for TEs: t2s ' +
'(Posse 1999, default),ste(Poser)',
help=('Combination scheme for TEs: '
't2s (Posse 1999, default), ste (Poser)'),
default='t2s')
parser.add_argument('--denoiseTEs',
dest='dne',
Expand All @@ -76,8 +76,8 @@ def get_parser():
default=False)
parser.add_argument('--initcost',
dest='initcost',
help='Initial cost func. for ICA: pow3, ' +
'tanh(default), gaus, skew',
help=('Initial cost func. for ICA: '
'tanh (default), pow3, gaus, skew'),
default='tanh')
parser.add_argument('--finalcost',
dest='finalcost',
Expand All @@ -86,8 +86,8 @@ def get_parser():
parser.add_argument('--stabilize',
dest='stabilize',
action='store_true',
help='Stabilize convergence by reducing ' +
'dimensionality, for low quality data',
help=('Stabilize convergence by reducing '
'dimensionality, for low quality data'),
default=False)
parser.add_argument('--fout',
dest='fout',
Expand All @@ -113,7 +113,7 @@ def get_parser():
def main(argv=None):
"""Entry point"""
options = get_parser().parse_args(argv)
tedana.main(options)
tedana.main(**vars(options))


if __name__ == '__main__':
Expand Down
Loading

0 comments on commit 7560f59

Please sign in to comment.