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

Corrected assertion error in relative bounding box

parent 893b42a9
No related branches found
No related tags found
No related merge requests found
......@@ -172,7 +172,7 @@ class RoiSet(object):
df['rel_x1'] = df.x1 - df.ebb_x0
assert np.all(df['rel_x1'] <= (df['ebb_x1'] - df['ebb_x0']))
assert np.all(df['rel_y1'] <= (df['ebb_x1'] - df['ebb_x0']))
assert np.all(df['rel_y1'] <= (df['ebb_y1'] - df['ebb_y0']))
df['slice'] = df.apply(
lambda r:
......
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