File tree Expand file tree Collapse file tree 7 files changed +10
-11
lines changed Expand file tree Collapse file tree 7 files changed +10
-11
lines changed Original file line number Diff line number Diff line change 47
47
traits ,
48
48
)
49
49
from nipype .utils .filemanip import fname_presuffix
50
+ from nireports .reportlets .modality .func import fMRIPlot
50
51
from niworkflows .utils .timeseries import _cifti_timeseries , _nifti_timeseries
51
- from niworkflows .viz .plots import fMRIPlot
52
52
53
53
LOGGER = logging .getLogger ('nipype.interface' )
54
54
Original file line number Diff line number Diff line change 39
39
isdefined ,
40
40
traits ,
41
41
)
42
- from niworkflows .interfaces .reportlets import base as nrb
42
+ from nireports .interfaces .reporting import base as nrb
43
43
from smriprep .interfaces .freesurfer import ReconAll
44
44
45
45
LOGGER = logging .getLogger ('nipype.interface' )
Original file line number Diff line number Diff line change @@ -146,6 +146,10 @@ def init_bold_confs_wf(
146
146
Mask of brain edge voxels
147
147
148
148
"""
149
+ from nireports .interfaces .nuisance import (
150
+ CompCorVariancePlot ,
151
+ ConfoundsCorrelationPlot ,
152
+ )
149
153
from niworkflows .engine .workflows import LiterateWorkflow as Workflow
150
154
from niworkflows .interfaces .confounds import ExpandModel , SpikeRegressors
151
155
from niworkflows .interfaces .fixes import FixHeaderApplyTransforms as ApplyTransforms
@@ -154,10 +158,6 @@ def init_bold_confs_wf(
154
158
from niworkflows .interfaces .nibabel import ApplyMask , Binarize
155
159
from niworkflows .interfaces .patches import RobustACompCor as ACompCor
156
160
from niworkflows .interfaces .patches import RobustTCompCor as TCompCor
157
- from niworkflows .interfaces .plotting import (
158
- CompCorVariancePlot ,
159
- ConfoundsCorrelationPlot ,
160
- )
161
161
from niworkflows .interfaces .reportlets .masks import ROIsPlot
162
162
from niworkflows .interfaces .utility import TSV2JSON , AddTSVHeader , DictMerge
163
163
Original file line number Diff line number Diff line change 31
31
from niworkflows .interfaces .header import ValidateImage
32
32
from niworkflows .interfaces .nitransforms import ConcatenateXFMs
33
33
from niworkflows .interfaces .utility import KeySelect
34
- from niworkflows .utils .connections import listify
35
34
from sdcflows .workflows .apply .correction import init_unwarp_wf
36
35
from sdcflows .workflows .apply .registration import init_coeff2epi_wf
37
36
Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ def init_func_fit_reports_wf(
185
185
Template space and specifications
186
186
187
187
"""
188
- from niworkflows .interfaces .reportlets . registration import (
188
+ from nireports .interfaces .reporting . base import (
189
189
SimpleBeforeAfterRPT as SimpleBeforeAfter ,
190
190
)
191
191
from sdcflows .interfaces .reportlets import FieldmapReportlet
Original file line number Diff line number Diff line change @@ -168,10 +168,10 @@ def init_t2s_reporting_wf(name: str = 't2s_reporting_wf'):
168
168
a before/after figure comparing the reference BOLD image and T2\* map
169
169
"""
170
170
from nipype .pipeline import engine as pe
171
- from niworkflows .interfaces .fixes import FixHeaderApplyTransforms as ApplyTransforms
172
- from niworkflows .interfaces .reportlets .registration import (
171
+ from nireports .interfaces .reporting .base import (
173
172
SimpleBeforeAfterRPT as SimpleBeforeAfter ,
174
173
)
174
+ from niworkflows .interfaces .fixes import FixHeaderApplyTransforms as ApplyTransforms
175
175
176
176
workflow = pe .Workflow (name = name )
177
177
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ dependencies = [
22
22
" looseversion" ,
23
23
" nibabel >= 4.0.1" ,
24
24
" nipype >= 1.8.5" ,
25
- " nireports >= 23.1.0 " ,
25
+ " nireports @ git+https://github.com/nipreps/nireports.git@main " ,
26
26
" nitime" ,
27
27
" nitransforms >= 21.0.0" ,
28
28
" niworkflows @ git+https://github.com/nipreps/niworkflows.git@master" ,
You can’t perform that action at this time.
0 commit comments