Hi all,
I have a problem with running Multi-reference refinement using
e2spt_classify.py.
## EMAN2 version:
e2version.py
EMAN 2.91 final ( GITHUB: 2021-03-08 11:36 - commit: 81caed2 )
Your Python version is: 3.7.9
## Command:
e2spt_classify.py sets/fil_spt_113_it06_re256_bin2.lst
--refs=spt_113/threed_06_addnoise01.hdf,spt_113/threed_06_addnoise02.hdf,spt_113/threed_06_addnoise03.hdf
--mask=spt_124/mask_spt124_modelinput_large.hdf --niter=8 --sym=c57
--tarres=40.0 --threads=12 --verbose=5 --path=spt_180
It is crashing towards the end of the first iteration, somehow at the averaging step to create even and odd averages. The alignment step worked fine.
## It only creates those files:
classmx_01.txt init_ref_02.hdf particle_parms_01_cls02.json
init_ref_00.hdf particle_parms_01_cls00.json
init_ref_01.hdf particle_parms_01_cls01.json
## Partial command output (starting where the error pops up):
X 0.422 -0.563 0.422 0
X 0.422 0.422 0.422 0
0.422 0.422 0.422 130.835 42.427 175.907 (-0.048) 7 8
X 0.422 -0.563 -0.563 1
X 0.422 0.422 -0.563 1
X 0.422 0.422 0.422 1
Pariticles in each class: 41, 72, 71
e2spt_average.py --threads 12 --path spt_180 --sym c57 --iter 1
0 threads
Traceback (most recent call last):
File "/opt/eman2/eman2-2.9.1/bin/e2spt_average.py", line 421, in <module>
main()
File "/opt/eman2/eman2-2.9.1/bin/e2spt_average.py", line 338, in main
ave.process_inplace("xform.applysym",{"averager":"mean.tomo","sym":options.sym})
AttributeError: 'NoneType' object has no attribute 'process_inplace'
e2refine_postprocess.py --even spt_180/threed_01_even.hdf --odd spt_180/threed_01_odd.hdf --output spt_180/threed_01.hdf --iter 1 --mass 500 --restarget 40.0 --threads 12 --sym c57 --automask3d mask.fromfile:filename=spt_124/mask_spt124_modelinput_large.hdf
Wed Jan 5 19:57:38 2022: e2proc3d.py spt_180/threed_01_even.hdf spt_180/fsc_unmasked_01.txt --calcfsc=spt_180/threed_01_odd.hdf
Traceback (most recent call last):
File "/opt/eman2/eman2-2.9.1/lib/python3.7/site-packages/EMAN2db.py", line 657, in db_get_image_count
ret = EMUtil.get_image_count_c(fsp)
RuntimeError: FileAccessException at /home/eman2/miniconda3/conda-bld/eman2_1615224802990/work/libEM/io/hdfio2.cpp:464: error with 'spt_180/threed_01_even.hdf': 'cannot access file 'spt_180/threed_01_even.hdf'' caught
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/eman2/eman2-2.9.1/bin/e2proc3d.py", line 890, in <module>
main()
File "/opt/eman2/eman2-2.9.1/bin/e2proc3d.py", line 308, in main
else : nimg = EMUtil.get_image_count(infile)
File "/opt/eman2/eman2-2.9.1/lib/python3.7/site-packages/EMAN2db.py", line 660, in db_get_image_count
raise Exception(fsp)
Exception: spt_180/threed_01_even.hdf
Error running: e2proc3d.py spt_180/threed_01_even.hdf spt_180/fsc_unmasked_01.txt --calcfsc=spt_180/threed_01_odd.hdf
e2spt_average.py --threads 12 --path spt_180 --sym c57 --iter 1
0 threads
Traceback (most recent call last):
File "/opt/eman2/eman2-2.9.1/bin/e2spt_average.py", line 421, in <module>
main()
File "/opt/eman2/eman2-2.9.1/bin/e2spt_average.py", line 338, in main
ave.process_inplace("xform.applysym",{"averager":"mean.tomo","sym":options.sym})
AttributeError: 'NoneType' object has no attribute 'process_inplace'
e2refine_postprocess.py --even spt_180/threed_01_even.hdf --odd spt_180/threed_01_odd.hdf --output spt_180/threed_01.hdf --iter 1 --mass 500 --restarget 40.0 --threads 12 --sym c57 --automask3d mask.fromfile:filename=spt_124/mask_spt124_modelinput_large.hdf
Wed Jan 5 19:57:39 2022: e2proc3d.py spt_180/threed_01_even.hdf spt_180/fsc_unmasked_01.txt --calcfsc=spt_180/threed_01_odd.hdf
Traceback (most recent call last):
File "/opt/eman2/eman2-2.9.1/lib/python3.7/site-packages/EMAN2db.py", line 657, in db_get_image_count
ret = EMUtil.get_image_count_c(fsp)
RuntimeError: FileAccessException at /home/eman2/miniconda3/conda-bld/eman2_1615224802990/work/libEM/io/hdfio2.cpp:464: error with 'spt_180/threed_01_even.hdf': 'cannot access file 'spt_180/threed_01_even.hdf'' caught
######
Is there a known bug with the program in the latest stable version?
Best regards,
Olivier Le Bihan