diff --git a/hippunfold/config/snakebids.yml b/hippunfold/config/snakebids.yml index f287b5e6..361adb7d 100644 --- a/hippunfold/config/snakebids.yml +++ b/hippunfold/config/snakebids.yml @@ -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)' diff --git a/hippunfold/tests/hippunfold_test.py b/hippunfold/tests/hippunfold_test.py index 94ad0534..6129e9ff 100644 --- a/hippunfold/tests/hippunfold_test.py +++ b/hippunfold/tests/hippunfold_test.py @@ -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')