Skip to content

Commit

Permalink
feat: fixes flake8 warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jtyoung84 committed Oct 24, 2023
1 parent 53d07bf commit dcca38d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aind_metadata_mapper/bergamo/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def _parse_raw_image_info(

roi_metadata = metadata["json"]["RoiGroups"]["imagingRoiGroup"]["rois"]

if type(roi_metadata) == dict:
if isinstance(roi_metadata, dict):
roi_metadata = [roi_metadata]
num_rois = len(roi_metadata)
roi = {}
Expand Down

0 comments on commit dcca38d

Please sign in to comment.