Skip to content

Commit

Permalink
Re-removed OSError (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
bf777 committed Oct 22, 2024
1 parent a79cf6f commit ec97a0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesonet/atlas_brain_matching.py
Original file line number Diff line number Diff line change
Expand Up @@ -873,7 +873,7 @@ def atlasBrainMatch(
mask_warped_to_use, pts=[bulb], color=[255, 255, 255]
)
io.imsave(mask_path, mask_warped_to_use)
except OSError:
except:
print("No olfactory bulb found!")
mask_warped_to_use = cv2.cvtColor(
mask_warped_to_use, cv2.COLOR_BGR2GRAY
Expand Down

0 comments on commit ec97a0e

Please sign in to comment.