From da830d208c25ac74faf4c6c0a6a20da6a8254027 Mon Sep 17 00:00:00 2001 From: Ariel Rokem Date: Wed, 3 Jan 2024 11:19:45 -0800 Subject: [PATCH] DOC: Small fixes to the visualization example. Closes #1077. --- examples/tutorial_examples/plot_003_viz.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/tutorial_examples/plot_003_viz.py b/examples/tutorial_examples/plot_003_viz.py index 8412d3a57..5b94fa997 100644 --- a/examples/tutorial_examples/plot_003_viz.py +++ b/examples/tutorial_examples/plot_003_viz.py @@ -106,7 +106,7 @@ # a machine that is not connected to a display ("headless"). If this is # the case, you can either set an environment variable called `XVFB` to `1` # or you can deindent the following code (and comment out the `if` statement) -# to inivialize the virtual frame buffer. +# to initialize the virtual frame buffer. if os.environ.get("XVFB", False): print("Initializing XVFB") @@ -384,7 +384,7 @@ def slice_volume(data, x=None, y=None, z=None): waypoint2 = nib.load( op.join( afq_path, - "ROIs", "sub-NDARAA948VFH_ses-HBNsiteRU_acq-64dir_space-T1w_desc-preproc_dwi_desc-ROI-ARC_L-1-include.nii.gz")) + "ROIs", "sub-NDARAA948VFH_ses-HBNsiteRU_acq-64dir_space-T1w_desc-preproc_dwi_desc-ROI-ARC_L-2-include.nii.gz")) waypoint1_xform = resample(waypoint1, t1w_img) waypoint2_xform = resample(waypoint2, t1w_img)