Skip to content

Commit

Permalink
Add MNIInfant to template enum (#824)
Browse files Browse the repository at this point in the history
Add MNIInfant to template enum.
  • Loading branch information
tsalo authored Oct 11, 2024
1 parent 5ff5caa commit 2967323
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
1 change: 0 additions & 1 deletion qsiprep/interfaces/anatomical.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
from scipy.spatial import distance

LOGGER = logging.getLogger("nipype.interface")
KNOWN_TEMPLATES = ["MNI152NLin2009cAsym", "infant"]


class _DiceOverlapInputSpec(BaseInterfaceInputSpec):
Expand Down
2 changes: 1 addition & 1 deletion qsiprep/interfaces/reports.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ class SubjectSummaryInputSpec(BaseInterfaceInputSpec):
subject_id = Str(desc="Subject ID")
dwi_groupings = traits.Dict(desc="groupings of DWI files and their output names")
output_spaces = traits.List(desc="Target spaces")
template = traits.Enum("MNI152NLin2009cAsym", desc="Template space")
template = traits.Enum("MNI152NLin2009cAsym", "MNIInfant", desc="Template space")


class SubjectSummaryOutputSpec(SummaryOutputSpec):
Expand Down
5 changes: 0 additions & 5 deletions qsiprep/workflows/anatomical/surface.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,6 @@
LOGGER = logging.getLogger("nipype.workflow")


TEMPLATE_MAP = {
"MNI152NLin2009cAsym": "mni_icbm152_nlin_asym_09c",
}


def init_surface_recon_wf(omp_nthreads, hires, name="surface_recon_wf"):
r"""
This workflow reconstructs anatomical surfaces using FreeSurfer's ``recon-all``.
Expand Down

0 comments on commit 2967323

Please sign in to comment.