Skip to content

Commit 4c3d993

Browse files
authored
Update docs/source/tutorial/2-advanced-execution.ipynb
1 parent e9019e5 commit 4c3d993

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/source/tutorial/2-advanced-execution.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@
324324
"source": [
325325
"import tempfile\n",
326326
"from pydra.tasks.mrtrix3.v3_0 import MrGrid\n",
327-
"from pydra.environments.docker import Docker\n",
327+
"from pydra.environments import docker\n",
328328
"\n",
329329
"test_dir = tempfile.mkdtemp()\n",
330330
"\n",
@@ -335,7 +335,7 @@
335335
"mrgrid = MrGrid(in_file=nifti_file, operation=\"regrid\", voxel=(0.5, 0.5, 0.5))\n",
336336
"\n",
337337
"# Run the task to resample all NIfTI files\n",
338-
"outputs = mrgrid(environment=Docker(image=\"mrtrix3/mrtrix3\", tag=\"latest\"))\n",
338+
"outputs = mrgrid(environment=docker.Environment(image=\"mrtrix3/mrtrix3\", tag=\"latest\"))\n",
339339
"\n",
340340
"# Print the locations of the output files\n",
341341
"pprint(outputs.out_file)"

0 commit comments

Comments
 (0)