Skip to content

Commit

Permalink
Update base.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tsalo committed Aug 31, 2024
1 parent fb66494 commit 5793525
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions src/fmripost_phase/workflows/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ def init_single_subject_wf(subject_id: str):
from niworkflows.interfaces.nilearn import NILEARN_VERSION

from fmripost_phase.interfaces.bids import DerivativesDataSink
from fmripost_phase.interfaces.laynii import LayNiiPhaseJolt
from fmripost_phase.interfaces.reportlets import AboutSummary, SubjectSummary
from fmripost_phase.utils.bids import collect_derivatives

Expand Down Expand Up @@ -289,6 +288,8 @@ def init_single_run_wf(bold_file):
from niworkflows.interfaces.header import ValidateImage
from templateflow.api import get as get_template

from fmripost_phase.interfaces.bids import DerivativesDataSink
from fmripost_phase.interfaces.laynii import LayNiiPhaseJolt
from fmripost_phase.utils.bids import collect_derivatives, extract_entities
from fmripost_phase.workflows.regression import init_phase_regression_wf

Expand Down Expand Up @@ -400,16 +401,6 @@ def init_single_run_wf(bold_file):
else:
workflow.connect([(validate_bold, stc_buffer, [('out_file', 'bold_file')])])

mni6_mask = str(
get_template(
'MNI152NLin6Asym',
resolution=2,
desc='brain',
suffix='mask',
extension=['.nii', '.nii.gz'],
)
)

mag_boldref_wf = init_bold_volumetric_resample_wf(
metadata=bold_metadata,
fieldmap_id=None, # XXX: Ignoring the field map for now
Expand Down

0 comments on commit 5793525

Please sign in to comment.