Skip to content

Commit

Permalink
Correct typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mcraig-ibme committed Jan 19, 2024
1 parent 4e5c631 commit 60036ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oxasl/rois.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def run(wsp):
wm = np.asarray(wsp.structural.wm_pv_asl.data)

wsp.rois.pure_gm_thresh = wsp.ifnone("pure_gm_thresh", 0.8)
wsp.rois.pure_wm_thresh = wsp.ifnone("pure_wm_thresh", 0.0)
wsp.rois.pure_wm_thresh = wsp.ifnone("pure_wm_thresh", 0.9)
some_gm, some_wm = gm > 0.5, wm > 0.5
pure_gm, pure_wm = gm > wsp.rois.pure_gm_thresh, wm > wsp.rois.pure_wm_thresh
wsp.rois.gm_asl = Image(some_gm.astype(int), header=wsp.structural.gm_pv_asl.header)
Expand Down

0 comments on commit 60036ae

Please sign in to comment.