Skip to content
Snippets Groups Projects
Commit eb587fe8 authored by Christopher Randolph Rhodes's avatar Christopher Randolph Rhodes
Browse files

Revert "Temporary error-handling for debug..."

This reverts commit 49581d11.
parent 49581d11
No related branches found
No related tags found
3 merge requests!37Release 2024.04.19,!34Revert "Temporary error-handling for debug...",!15Changes supporting AutoMic integration
......@@ -290,16 +290,11 @@ class RoiSet(object):
# assign labels to object map:
for i, roi in enumerate(self):
try:
oc = np.unique(
mask_largest_object(
obmap_patches.iat(i).data
)
)[-1]
except Exception as e:
print(i)
print(np.unique(mask_largest_object(obmap_patches.iat(i).data)))
raise e
oc = np.unique(
mask_largest_object(
obmap_patches.iat(i).data
)
)[-1]
self._df.loc[roi.Index, 'classify_by_' + name] = oc
om[self.acc_obj_ids.data == roi.label] = oc
self.object_class_maps[name] = InMemoryDataAccessor(om)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment