Skip to content

Commit

Permalink
REmove deprecated numpy type alias
Browse files Browse the repository at this point in the history
  • Loading branch information
mcraig-ibme committed Mar 6, 2023
1 parent 7d74767 commit a44d4f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oxasl_enable/enable.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def get_rois(wsp):

if wsp.enable_gm_roi is None:
wsp.log.write(" - Taking GM ROI from segmentation of structural image\n")
wsp.enable_gm_roi = Image((wsp.structural.gm_pv.data > 0).astype(np.int), header=wsp.structural.struc.header)
wsp.enable_gm_roi = Image((wsp.structural.gm_pv.data > 0).astype(np.int32), header=wsp.structural.struc.header)
wsp.enable_gm_from_struc = True

if wsp.enable_noise_roi is None:
Expand Down

0 comments on commit a44d4f9

Please sign in to comment.