diff --git a/scripts/Cut_Application_thread.py b/scripts/Cut_Application_thread.py index 28098aa..39edc31 100755 --- a/scripts/Cut_Application_thread.py +++ b/scripts/Cut_Application_thread.py @@ -409,6 +409,7 @@ def export_images(self): core_diameter=self.core_diameter, output=self.output, name=self.name, lvl=self.lvl, path=self.path, arrayshape=self.arrayshape, pathology=self.pathology) + self.thread = QThread() self.export.info.connect(self.info) self.export.done.connect(self.complete) @@ -485,6 +486,7 @@ def json_write(self): with open(self.output + os.sep + self.name + '_metadata.json', "w") as write_file: json.dump(jsondata, write_file) + def wsifigure(self, higher_resolution=False, pathology=None): """ takes the metadata from the json