Hello Eman Team,
I am getting an unexpected error when I try to use the "--curve" command to get an initial model of a filament.
EMAN 2.99 ( GITHUB: 2022-02-16 14:39 - commit: 49f9da41b )
Your EMAN2 is running on: Linux-5.13.0-44-generic-x86_64-with-glibc2.31 5.13.0-44-generic
Your Python version is: 3.9.10
Quick workflow summary:
1. Pick points on the filament using the draw curve tool
2. Press "Interpolate"
3. Close window and open up the particle extraction window
4. Extract the particles from curve "00" with an overlap of 0.5
5. Watch the read out in terminal that indicates that it is ineed extracting from the curves
6. Build set
7. Run the command below which gives me the error.
Command:
e2spt_sgd_new.py sets/flag14.lst --niter 30 --curve
Error:
Gathering metadata...
151/151
iter 0, class 0:
17 jobs on 12 CPUs
Error executing: <e2spt_align_subtlt.SptAlignTask object at 0x7f4f1220fd30>
Traceback (most recent call last):
File "/home/doulin/miniconda3/envs/eman2/bin/e2parallel.py", line 87, in main
ret=task.execute(empty_func)
File "/home/doulin/miniconda3/envs/eman2/bin/e2spt_align_subtlt.py", line 474, in execute
score=newscore[0]
UnboundLocalError: local variable 'newscore' referenced before assignment
Error executing: <e2spt_align_subtlt.SptAlignTask object at 0x7f95c9a0ed30>
Traceback (most recent call last):
File "/home/doulin/miniconda3/envs/eman2/bin/e2parallel.py", line 87, in main
ret=task.execute(empty_func)
File "/home/doulin/miniconda3/envs/eman2/bin/e2spt_align_subtlt.py", line 474, in execute
score=newscore[0]
UnboundLocalError: local variable 'newscore' referenced before assignment
Error executing: <e2spt_align_subtlt.SptAlignTask object at 0x7fe77ca04d30>
Traceback (most recent call last):
File "/home/doulin/miniconda3/envs/eman2/bin/e2parallel.py", line 87, in main
ret=task.execute(empty_func)
File "/home/doulin/miniconda3/envs/eman2/bin/e2spt_align_subtlt.py", line 474, in execute
score=newscore[0]
UnboundLocalError: local variable 'newscore' referenced before assignment
Error executing: <e2spt_align_subtlt.SptAlignTask object at 0x7fe888117d30>
Error executing: <e2spt_align_subtlt.SptAlignTask object at 0x7fcbe4b11d30>
Traceback (most recent call last):
File "/home/doulin/miniconda3/envs/eman2/bin/e2parallel.py", line 87, in main
ret=task.execute(empty_func)
File "/home/doulin/miniconda3/envs/eman2/bin/e2spt_align_subtlt.py", line 474, in execute
score=newscore[0]
UnboundLocalError: local variable 'newscore' referenced before assignment
Traceback (most recent call last):
File "/home/doulin/miniconda3/envs/eman2/bin/e2parallel.py", line 87, in main
ret=task.execute(empty_func)
File "/home/doulin/miniconda3/envs/eman2/bin/e2spt_align_subtlt.py", line 474, in execute
score=newscore[0]
UnboundLocalError: local variable 'newscore' referenced before assignment
Error executing: <e2spt_align_subtlt.SptAlignTask object at 0x7f8f5d89fd30>
Traceback (most recent call last):
File "/home/doulin/miniconda3/envs/eman2/bin/e2parallel.py", line 87, in main
ret=task.execute(empty_func)
File "/home/doulin/miniconda3/envs/eman2/bin/e2spt_align_subtlt.py", line 474, in execute
score=newscore[0]
UnboundLocalError: local variable 'newscore' referenced before assignment
Error executing: <e2spt_align_subtlt.SptAlignTask object at 0x7f3aa4c11d30>
Error executing: <e2spt_align_subtlt.SptAlignTask object at 0x7f90b8f61d30>
Traceback (most recent call last):
File "/home/doulin/miniconda3/envs/eman2/bin/e2parallel.py", line 87, in main
ret=task.execute(empty_func)
File "/home/doulin/miniconda3/envs/eman2/bin/e2spt_align_subtlt.py", line 474, in execute
score=newscore[0]
UnboundLocalError: local variable 'newscore' referenced before assignment
Traceback (most recent call last):
File "/home/doulin/miniconda3/envs/eman2/bin/e2parallel.py", line 87, in main
ret=task.execute(empty_func)
File "/home/doulin/miniconda3/envs/eman2/bin/e2spt_align_subtlt.py", line 474, in execute
score=newscore[0]
UnboundLocalError: local variable 'newscore' referenced before assignment
Error executing: <e2spt_align_subtlt.SptAlignTask object at 0x7ffb37131d30>
Traceback (most recent call last):
File "/home/doulin/miniconda3/envs/eman2/bin/e2parallel.py", line 87, in main
ret=task.execute(empty_func)
File "/home/doulin/miniconda3/envs/eman2/bin/e2spt_align_subtlt.py", line 474, in execute
score=newscore[0]
UnboundLocalError: local variable 'newscore' referenced before assignment
Error executing: <e2spt_align_subtlt.SptAlignTask object at 0x7f1b5e55dd30>
Traceback (most recent call last):
File "/home/doulin/miniconda3/envs/eman2/bin/e2parallel.py", line 87, in main
ret=task.execute(empty_func)
File "/home/doulin/miniconda3/envs/eman2/bin/e2spt_align_subtlt.py", line 474, in execute
score=newscore[0]
UnboundLocalError: local variable 'newscore' referenced before assignment
Error executing: <e2spt_align_subtlt.SptAlignTask object at 0x7f57f46acd30>
Traceback (most recent call last):
File "/home/doulin/miniconda3/envs/eman2/bin/e2parallel.py", line 87, in main
ret=task.execute(empty_func)
File "/home/doulin/miniconda3/envs/eman2/bin/e2spt_align_subtlt.py", line 474, in execute
score=newscore[0]
UnboundLocalError: local variable 'newscore' referenced before assignment
Error executing: <e2spt_align_subtlt.SptAlignTask object at 0x7f18d179fd30>
Traceback (most recent call last):
File "/home/doulin/miniconda3/envs/eman2/bin/e2parallel.py", line 87, in main
ret=task.execute(empty_func)
File "/home/doulin/miniconda3/envs/eman2/bin/e2spt_align_subtlt.py", line 474, in execute
score=newscore[0]
UnboundLocalError: local variable 'newscore' referenced before assignment
Error running task : 0
Traceback (most recent call last):
File "/home/doulin/miniconda3/envs/eman2/bin/e2spt_sgd_new.py", line 236, in <module>
main()
File "/home/doulin/miniconda3/envs/eman2/bin/e2spt_sgd_new.py", line 138, in main
a3dout.append(load_lst_params(f"{path}/aliptcls3d_00.lst"))
File "/home/doulin/miniconda3/envs/eman2/lib/python3.9/site-packages/EMAN2.py", line 2841, in load_lst_params
lsx=LSXFile(fsp,True)
File "/home/doulin/miniconda3/envs/eman2/lib/python3.9/site-packages/EMAN2.py", line 2477, in __init__
if ifexists: raise Exception("Error: lst file {} does not exist".format(path))
Exception: Error: lst file sptsgd_01/aliptcls3d_00.lst does not exist
Exception ignored in: <function LSXFile.__del__ at 0x7fda46b0e430>
Traceback (most recent call last):
File "/home/doulin/miniconda3/envs/eman2/lib/python3.9/site-packages/EMAN2.py", line 2543, in __del__
self.close()
File "/home/doulin/miniconda3/envs/eman2/lib/python3.9/site-packages/EMAN2.py", line 2554, in close
if self.ptr!=None :
AttributeError: 'LSXFile' object has no attribute 'ptr'
Cheers,
Doulin Shepherd--
--
----------------------------------------------------------------------------------------------
You received this message because you are subscribed to the Google
Groups "EMAN2" group.
To post to this group, send email to em...@googlegroups.com
To unsubscribe from this group, send email to eman2+un...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/eman2
---
You received this message because you are subscribed to the Google Groups "EMAN2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eman2+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/eman2/04c841d6-2dcb-4343-9a5a-d11c723f6293n%40googlegroups.com.
On Jun 6, 2022, at 5:11 PM, Doulin Shepherd <doulin....@gmail.com> wrote:
The a/pix is 8.240 in the binned 1K tomogram and my unbinned box size is 64 (I started with a binned 2K tilt series)
To view this discussion on the web visit https://groups.google.com/d/msgid/eman2/1d918c89-7857-44a2-ab3d-e5cea52048abn%40googlegroups.com.