File tree Expand file tree Collapse file tree 4 files changed +13
-0
lines changed Expand file tree Collapse file tree 4 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -242,6 +242,10 @@ ENV LANG="C.UTF-8" \
242
242
ENV MKL_NUM_THREADS=1 \
243
243
OMP_NUM_THREADS=1
244
244
245
+ # MSM HOCR (Nov 19, 2019 release)
246
+ RUN curl -L -H "Accept: application/octet-stream" https://api.github.com/repos/ecr05/MSM_HOCR/releases/assets/16253707 -o /usr/local/bin/msm \
247
+ && chmod +x /usr/local/bin/msm
248
+
245
249
# Installing FMRIPREP
246
250
COPY --from=src /src/fmriprep/dist/*.whl .
247
251
RUN pip install --no-cache-dir $( ls *.whl )[container,test]
Original file line number Diff line number Diff line change @@ -425,6 +425,12 @@ def _slice_time_ref(value, parser):
425
425
"Optionally, the number of grayordinate can be specified "
426
426
"(default is 91k, which equates to 2mm resolution)" ,
427
427
)
428
+ g_outputs .add_argument (
429
+ "--no-msm" ,
430
+ action = "store_false" ,
431
+ dest = "run_msmsulc" ,
432
+ help = "Disable Multimodal Surface Matching surface registration." ,
433
+ )
428
434
429
435
g_aroma = parser .add_argument_group ("[DEPRECATED] Options for running ICA_AROMA" )
430
436
g_aroma .add_argument (
Original file line number Diff line number Diff line change @@ -537,6 +537,8 @@ class workflow(_Config):
537
537
"""Ignore particular steps for *fMRIPrep*."""
538
538
longitudinal = False
539
539
"""Run FreeSurfer ``recon-all`` with the ``-logitudinal`` flag."""
540
+ run_msmsulc = True
541
+ """Run Multimodal Surface Matching surface registration."""
540
542
medial_surface_nan = None
541
543
"""Fill medial surface with :abbr:`NaNs (not-a-number)` when sampling."""
542
544
project_goodvoxels = False
Original file line number Diff line number Diff line change @@ -312,6 +312,7 @@ def init_single_subject_wf(subject_id: str):
312
312
hires = config .workflow .hires ,
313
313
longitudinal = config .workflow .longitudinal ,
314
314
omp_nthreads = config .nipype .omp_nthreads ,
315
+ msm_sulc = config .workflow .run_msmsulc ,
315
316
output_dir = fmriprep_dir ,
316
317
skull_strip_fixed_seed = config .workflow .skull_strip_fixed_seed ,
317
318
skull_strip_mode = config .workflow .skull_strip_t1w ,
You can’t perform that action at this time.
0 commit comments