Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

imod ctf correction fails #309

Open
azazellochg opened this issue Dec 8, 2024 · 0 comments
Open

imod ctf correction fails #309

azazellochg opened this issue Dec 8, 2024 · 0 comments
Assignees

Comments

@azazellochg
Copy link
Member

It seems that the acquisition order is only implemented for non-imod ctf series. I have a restacked input TS (some 40, some 41 tilts) and input imod ctf estimation with 41 tilts. I get an error indicating that tiltSeries size is not matching the ctfTomoSeries size.

00001:   Traceback (most recent call last):
00002:     File "/home/gsharov/soft/scipion3/scipion-pyworkflow/pyworkflow/protocol/protocol.py", line 207, in run
00003:       self._run()
00004:     File "/home/gsharov/soft/scipion3/scipion-pyworkflow/pyworkflow/protocol/protocol.py", line 257, in _run
00005:       resultFiles = self._runFunc()
00006:     File "/home/gsharov/soft/scipion3/scipion-pyworkflow/pyworkflow/protocol/protocol.py", line 253, in _runFunc
00007:       return self._func(*self._args)
00008:     File "/home/gsharov/soft/scipion-em-plugins/scipion-em-imod/imod/protocols/protocol_ctfCorrection.py", line 206, in convertInputsStep
00009:       self.generateDefocusFile(tsId, presentAcqOrders=presentAcqOrders)
00010:     File "/home/gsharov/soft/scipion-em-plugins/scipion-em-imod/imod/protocols/protocol_ctfCorrection.py", line 326, in generateDefocusFile
00011:       utils.generateDefocusIMODFileFromObject(ctfTomoSeries, defocusFilePath,
00012:     File "/home/gsharov/soft/scipion-em-plugins/scipion-em-imod/imod/utils.py", line 698, in generateDefocusIMODFileFromObject
00013:       round(tiltSeries[index].getTiltAngle(), 2),
00014:   AttributeError: 'NoneType' object has no attribute 'getTiltAngle'
00015:   Protocol failed: 'NoneType' object has no attribute 'getTiltAngle'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants