scipion-em / scipion-pyworkflow

Underlying pyworkflow module for the Scipion framework
GNU General Public License v3.0
6 stars 5 forks source link

allow delete output SetOfCTFTomoSeries #478

Closed azazellochg closed 10 months ago

azazellochg commented 10 months ago

from CTF protocols.

At the moment this gives an error which I couldn't decipher:

Exception in Tkinter callback
Traceback (most recent call last):
  File "/home/gsharov/soft/scipion3/scipion-pyworkflow/pyworkflow/gui/project/viewprotocols_extra.py", line 112, in _deleteObject
    if self.parent.windows.askYesNo("Delete object",
AttributeError: 'ProtocolsView' object has no attribute 'windows'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/gsharov/soft/miniconda3/envs/scipion3/lib/python3.8/tkinter/__init__.py", line 1892, in __call__
    return self.func(*args)
  File "/home/gsharov/soft/scipion3/scipion-pyworkflow/pyworkflow/gui/project/viewprotocols_extra.py", line 161, in <lambda>
    lambda: self._deleteObject(obj),
  File "/home/gsharov/soft/scipion3/scipion-pyworkflow/pyworkflow/gui/project/viewprotocols_extra.py", line 120, in _deleteObject
    self.parent.windows.showError(str(ex))
AttributeError: 'ProtocolsView' object has no attribute 'windows'
pconesa commented 10 months ago

Deleting..... CTFs?

azazellochg commented 10 months ago

yes. This is for good/bad subsets created by the viewer which can be multiple.

pconesa commented 10 months ago

I don't get the option to delete them...umm

pconesa commented 10 months ago

I think it is because I used an import protocol and you probably used an estimator.

pconesa commented 10 months ago

Closes by https://github.com/scipion-em/scipion-pyworkflow/pull/479