fix task cancellation
Traceback (most recent call last):
File "/cvmfs/tomo.esrf.fr/software/packages/linux/x86_64/tomotools/2024_01_10/lib/python3.11/site-packages/processview/gui/processmanager.py", line 157, in _requestCancelProcessing
process.cancel(dataset.recreate_dataset())
File "/cvmfs/tomo.esrf.fr/software/packages/linux/x86_64/tomotools/2024_01_10/lib/python3.11/site-packages/orangecontrib/tomwer/widgets/reconstruction/NabuVolumeOW.py", line 294, in cancel
if scan in self._processingStack:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/cvmfs/tomo.esrf.fr/software/packages/linux/x86_64/tomotools/2024_01_10/lib/python3.11/site-packages/tomwer/synctools/stacks/processingstack.py", line 195, in __contains__
return value.get_identifier().to_str() in [
^
File "/cvmfs/tomo.esrf.fr/software/packages/linux/x86_64/tomotools/2024_01_10/lib/python3.11/site-packages/tomwer/synctools/stacks/processingstack.py", line 196, in <listcomp>
scan.get_identifier().to_str() for scan in self._deque
^^^^^^^^^^^^^^^^^^^
AttributeError: 'tuple' object has no attribute 'get_identifier'
Edited by payno