Skip to content

Commit

Permalink
Merge pull request #22 from Cristina-Tobias/hotfix-fix-cli-invocation
Browse files Browse the repository at this point in the history
[HOTFIX] Update CLI invocation of run_clustintime
  • Loading branch information
Cristina-Tobias committed Mar 26, 2023
2 parents ebe716c + e28afb0 commit f130218
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion clustintime/cli/run_clustintime.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def _get_parser():
if __name__ == "__main__":

raise RuntimeError(
"clustintime/cli/run_clime.py should not be run directly; \n"
"clustintime/cli/run_clustintime.py should not be run directly; \n"
"Please `pip install` clustintime and use the"
"`clustintime` command"
)
4 changes: 2 additions & 2 deletions clustintime/clustintime.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import sys
from nilearn.input_data import NiftiMasker
from nilearn.masking import apply_mask
from clustintime.cli.run_clime import _get_parser
from clustintime.cli.run_clustintime import _get_parser



Expand Down Expand Up @@ -261,4 +261,4 @@ def _main(argv = None):
options = _get_parser().parse_args(argv)
clustintime(**vars(options))
if __name__ == '__main__':
_main(sys.argv[1:])
_main(sys.argv[1:])

0 comments on commit f130218

Please sign in to comment.