Skip to content

Commit 0d821d5

Browse files
committed
Corrects usage of populate-intended-for in allowed commands
1 parent 42d3c20 commit 0d821d5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

heudiconv/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@ def process_extra_commands(outdir, command, files, dicom_dir_template,
4747
heuristic, session, subjs, grouping):
4848
"""
4949
Perform custom command instead of regular operations. Supported commands:
50-
['treat-json', 'ls', 'populate-templates', 'populate_intended_for']
50+
['treat-json', 'ls', 'populate-templates', 'populate-intended-for']
5151
5252
Parameters
5353
----------
5454
outdir : str
5555
Output directory
56-
command : {'treat-json', 'ls', 'populate-templates', 'populate_intended_for'}
56+
command : {'treat-json', 'ls', 'populate-templates', 'populate-intended-for'}
5757
Heudiconv command to run
5858
files : list of str
5959
List of files

heudiconv/tests/test_main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ def test_no_etelemetry():
306306
def test_populate_intended_for(session, expected_folder, capfd):
307307
"""
308308
Tests for "process_extra_commands" when the command is
309-
'populate_intended_for'
309+
'populate-intended-for'
310310
"""
311311
# Because the function .utils.populate_intended_for already has its own
312312
# tests, here we just test that "process_extra_commands", when 'command'

0 commit comments

Comments
 (0)