Skip to content
Snippets Groups Projects
Commit 0e76f6e8 authored by Kai Schleicher's avatar Kai Schleicher
Browse files

Clear ROI manager before adding and converting ROIs

parent f500afb7
No related branches found
No related tags found
No related merge requests found
......@@ -453,6 +453,7 @@ def save_labelimage_as_ijroiset(label_imp, rm, filename, suffix, target):
target : str
the target directory in which to save the table
"""
rm.reset()
command.run( Labels2Rois , False , 'imp' , label_imp , 'rm', rm).get()
savename = filename + "_" + str(suffix) + ".zip"
savepath = os.path.join(target, savename)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment