Skip to content
Snippets Groups Projects
Commit cedc9262 authored by Jakobsen, Mads Bregenholt's avatar Jakobsen, Mads Bregenholt
Browse files

blub

parent 7a8a0b59
No related branches found
No related tags found
No related merge requests found
Pipeline #167767 passed
......@@ -51,6 +51,8 @@ def make_onlineroi_from_roi_array(roi_array, verbose=False):
if index+length < roi_array.size:
while roi_ravel[index+length] == 1:
length +=1
if index+length == roi_array.size:
break
if verbose == True:
print(f" ... with length {length}")
......@@ -58,6 +60,9 @@ def make_onlineroi_from_roi_array(roi_array, verbose=False):
index += length
else:
index += 1
if verbose == True:
print(f" compression completed:", compressed_data.get())
return compressed_data.get()
online_roi_data = dict()
......
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