Skip to content

Commit c8c046b

Browse files
committed
fix: exit test early, typo
1 parent 8f61c51 commit c8c046b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

heudiconv/parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ def get_study_sessions(dicom_dir_template, files_opt, heuristic, outdir,
184184
if not sid:
185185
raise NotImplementedError("Cannot guarantee subject id - add "
186186
"`infotoids` to heuristic file or "
187-
"provide `--subject` argument")
187+
"provide `--subjects` option")
188188
lgr.warn("Heuristic is missing an `infotoids` method, assigning "
189189
"empty method and using provided subject id", sid,
190190
"Provide `session` and `locator` fields for best results.")

heudiconv/tests/test_heuristics.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ def test_reproin_largely_smoke(tmpdir, heuristic, invocation):
6767
# if subject is not overriden, raise error
6868
with pytest.raises(NotImplementedError):
6969
runner(args)
70+
return
7071

7172
runner(args)
7273
ds = Dataset(str(tmpdir))

0 commit comments

Comments
 (0)