Skip to content

Commit 2d148d0

Browse files
committed
chaniging imports from nipype.workflows to niflow.nipype1.workflows in the notebooks
1 parent ff7c423 commit 2d148d0

4 files changed

+12
-12
lines changed

notebooks/basic_graph_visualization.ipynb

+3-3
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"outputs": [],
4242
"source": [
4343
"# Import the function to create an spm fmri preprocessing workflow\n",
44-
"from nipype.workflows.fmri.spm import create_spm_preproc\n",
44+
"from niflow.nipype1.workflows.fmri.spm import create_spm_preproc\n",
4545
"\n",
4646
"# Create the workflow object\n",
4747
"spmflow = create_spm_preproc()"
@@ -274,7 +274,7 @@
274274
"metadata": {
275275
"anaconda-cloud": {},
276276
"kernelspec": {
277-
"display_name": "Python [default]",
277+
"display_name": "Python 3",
278278
"language": "python",
279279
"name": "python3"
280280
},
@@ -288,7 +288,7 @@
288288
"name": "python",
289289
"nbconvert_exporter": "python",
290290
"pygments_lexer": "ipython3",
291-
"version": "3.6.5"
291+
"version": "3.6.11"
292292
}
293293
},
294294
"nbformat": 4,

notebooks/basic_import_workflows.ipynb

+3-3
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"metadata": {},
4141
"outputs": [],
4242
"source": [
43-
"from nipype.workflows.fmri.fsl.preprocess import create_susan_smooth\n",
43+
"from niflow.nipype1.workflows.fmri.fsl.preprocess import create_susan_smooth\n",
4444
"smoothwf = create_susan_smooth()"
4545
]
4646
},
@@ -323,7 +323,7 @@
323323
"metadata": {
324324
"anaconda-cloud": {},
325325
"kernelspec": {
326-
"display_name": "Python [default]",
326+
"display_name": "Python 3",
327327
"language": "python",
328328
"name": "python3"
329329
},
@@ -337,7 +337,7 @@
337337
"name": "python",
338338
"nbconvert_exporter": "python",
339339
"pygments_lexer": "ipython3",
340-
"version": "3.6.5"
340+
"version": "3.6.11"
341341
}
342342
},
343343
"nbformat": 4,

notebooks/basic_workflow.ipynb

+3-3
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@
484484
"metadata": {},
485485
"outputs": [],
486486
"source": [
487-
"from nipype.workflows.fmri.fsl import create_susan_smooth"
487+
"from niflow.nipype1.workflows.fmri.fsl import create_susan_smooth"
488488
]
489489
},
490490
{
@@ -946,7 +946,7 @@
946946
"metadata": {
947947
"anaconda-cloud": {},
948948
"kernelspec": {
949-
"display_name": "Python [default]",
949+
"display_name": "Python 3",
950950
"language": "python",
951951
"name": "python3"
952952
},
@@ -960,7 +960,7 @@
960960
"name": "python",
961961
"nbconvert_exporter": "python",
962962
"pygments_lexer": "ipython3",
963-
"version": "3.6.5"
963+
"version": "3.6.11"
964964
}
965965
},
966966
"nbformat": 4,

notebooks/handson_preprocessing.ipynb

+3-3
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@
765765
"metadata": {},
766766
"outputs": [],
767767
"source": [
768-
"from nipype.workflows.fmri.fsl.preprocess import create_susan_smooth"
768+
"from niflow.nipype1.workflows.fmri.fsl.preprocess import create_susan_smooth"
769769
]
770770
},
771771
{
@@ -1753,7 +1753,7 @@
17531753
"metadata": {
17541754
"anaconda-cloud": {},
17551755
"kernelspec": {
1756-
"display_name": "Python [default]",
1756+
"display_name": "Python 3",
17571757
"language": "python",
17581758
"name": "python3"
17591759
},
@@ -1767,7 +1767,7 @@
17671767
"name": "python",
17681768
"nbconvert_exporter": "python",
17691769
"pygments_lexer": "ipython3",
1770-
"version": "3.6.5"
1770+
"version": "3.6.11"
17711771
}
17721772
},
17731773
"nbformat": 4,

0 commit comments

Comments
 (0)