Skip to content

Commit

Permalink
DOC: Small fixes to the visualization example.
Browse files Browse the repository at this point in the history
Closes #1077.
  • Loading branch information
arokem committed Jan 3, 2024
1 parent e4e1ec3 commit da830d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/tutorial_examples/plot_003_viz.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit da830d2

Please sign in to comment.