We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7084197 commit 1dac9d7Copy full SHA for 1dac9d7
heudiconv/cli/run.py
@@ -96,8 +96,12 @@ def main(argv=None):
96
numpy.random.seed(args.random_seed)
97
if args.debug:
98
lgr.setLevel(logging.DEBUG)
99
- if args.files and args.subjs:
100
- raise ValueError("Unable to processes `--subjects` with files")
+ # Should be possible but only with a single subject -- will be used to
+ # override subject deduced from the DICOMs
101
+ if args.files and args.subjs and len(args.subjs) > 1:
102
+ raise ValueError(
103
+ "Unable to processes multiple `--subjects` with files"
104
+ )
105
106
107
setup_exceptionhook()
0 commit comments