Commit 5a6730a2 authored by Henri Payno's avatar Henri Payno
Browse files

Merge branch '0.9' of gitlab.esrf.fr:tomotools/tomwer into 0.9

parents 43304d74 882391c8
......@@ -506,9 +506,9 @@ class AxisOW(SuperviseOW, WidgetLongProcessing):
if scan is not None:
# for now The behavior for reprocessing is the sama as for processing
if hasattr(scan, "instance"):
self.process(scan=scan.instance)
self.process(scan.instance)
else:
self.process(scan=scan)
self.process(scan)
def close(self):
self._processingStack.stop()
......
......@@ -234,9 +234,9 @@ class NabuOW(WidgetLongProcessing, SuperviseOW):
if self.exec_():
# for now The behavior for reprocessing is the sama as for processing
if hasattr(scan, "instance"):
self.process(scan=scan.instance)
self.process(scan.instance)
else:
self.process(scan=scan)
self.process(scan)
@Inputs.cluster_in
def setCluster(self, slurm_cluster: Optional[SlurmClusterConfiguration]):
......
......@@ -444,7 +444,7 @@ class SAAxisOW(SuperviseOW, WidgetLongProcessing):
@Inputs.data_recompute
def reprocess(self, dataset):
self.lockAutofocus(False)
self.process(scan=dataset)
self.process(dataset)
def validateCurrentScan(self):
self._widget.validateCurrentScan()
......
......@@ -366,7 +366,7 @@ class SADeltaBetaOW(SuperviseOW, WidgetLongProcessing):
@Inputs.data_recompute
def reprocess(self, dataset):
self.lockAutofocus(False)
self.process(scan=dataset)
self.process(dataset)
@Inputs.cluster_in
def setCluster(self, cluster):
......
......@@ -635,7 +635,7 @@ class AxisProcess(
:param scan:
"""
return self.process(scan=scan)
return self.process(scan)
def _process_end(self, scan, cor, error=None):
assert isinstance(scan, TomwerScanBase)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment