Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite624a70

Browse files
authored
Merge pull requestmiykael#170 from effigies/fix/handle_copyfiles
FIX: Path location is updated when symlinked
2 parentse78e323 +bfee0e7 commite624a70

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

‎notebooks/basic_nodes.ipynb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,10 @@
170170
"metadata": {},
171171
"outputs": [],
172172
"source": [
173+
"in_file = '/data/ds000114/sub-01/ses-test/anat/sub-01_ses-test_T1w.nii.gz'\n",
174+
"\n",
173175
"# Specify node inputs\n",
174-
"bet.inputs.in_file ='/data/ds000114/sub-01/ses-test/anat/sub-01_ses-test_T1w.nii.gz'\n",
176+
"bet.inputs.in_file =in_file\n",
175177
"bet.inputs.out_file = '/output/node_T1w_bet.nii.gz'"
176178
]
177179
},
@@ -200,7 +202,7 @@
200202
"from nilearn.plotting import plot_anat\n",
201203
"%matplotlib inline\n",
202204
"import matplotlib.pyplot as plt\n",
203-
"plot_anat(bet.inputs.in_file, title='BET input', cut_coords=(10,10,10),\n",
205+
"plot_anat(in_file, title='BET input', cut_coords=(10,10,10),\n",
204206
" display_mode='ortho', dim=-1, draw_cross=False, annotate=False);\n",
205207
"plot_anat(res.outputs.out_file, title='BET output', cut_coords=(10,10,10),\n",
206208
" display_mode='ortho', dim=-1, draw_cross=False, annotate=False);"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp