Skip to content

Commit

Permalink
Merge pull request #103 from khanlab/akhanf-patch-1
Browse files Browse the repository at this point in the history
fix typo in help usage
  • Loading branch information
akhanf authored Sep 10, 2021
2 parents 36713c0 + 8ef6531 commit e9c3d18
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion hippunfold/config/snakebids.yml
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ parse_args:
- 'equivolume'
default:
- 'equivolume'
help: 'Method to use for laminar coordinates. Equivolume uses equivolumetric layering from Waehnert et al 2014 (Nighres implementation). (default: %(default))'
help: 'Method to use for laminar coordinates. Equivolume uses equivolumetric layering from Waehnert et al 2014 (Nighres implementation). (default: %(default)s)'

--keep_work:
help: 'Keep work folder intact instead of archiving it for each subject (default: %(default)s)'
Expand Down
4 changes: 4 additions & 0 deletions hippunfold/tests/hippunfold_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ def test_dry_runs(script_runner):
ret = script_runner.run('hippunfold', 'test_data/bids_singleT2w',output_dir,'participant','-np')
assert ret.success

#test help usage
ret = script_runner.run('hippunfold', '-h')
assert ret.success

#test one hemi at a time
with tempfile.TemporaryDirectory() as output_dir:
ret = script_runner.run('hippunfold', 'test_data/bids_singleT2w',output_dir,'participant','-np','--hemi','R')
Expand Down

0 comments on commit e9c3d18

Please sign in to comment.