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.
2 parents 3a25507 + e33c722 commit 1829514Copy full SHA for 1829514
.maint/contributors.json
@@ -1 +1,7 @@
1
-[]
+[
2
+ {
3
+ "affiliation": "Montreal Neurological Institute, McGill University",
4
+ "name": "Huberty, Scott",
5
+ "orcid": "0000-0003-2637-031X"
6
+ }
7
+]
nibabies/workflows/anatomical/base.py
@@ -612,6 +612,9 @@ def init_infant_single_anat_wf(
612
"This workflow uses only T1w or T2w inputs, but both contrasts are available."
613
)
614
615
+ if not (t1w or t2w):
616
+ raise RuntimeError("This workflow requires either a T1w or T2w, but none were found.")
617
+
618
anat_files = t1w or t2w
619
num_files = len(anat_files)
620
workflow = LiterateWorkflow(name=name)
0 commit comments