Skip to content

Commit

Permalink
Merge pull request #1083 from arokem/example-both-arc-rois
Browse files Browse the repository at this point in the history
DOC: Small fixes to the visualization example.
  • Loading branch information
36000 authored Jan 4, 2024
2 parents f9223ff + da830d2 commit 5857e8b
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 5857e8b

Please sign in to comment.