Hello,
I am trying to convert the .jpg images that EPU generates for each micrograph during a collection into .mrc files so I can view them and pick on them in RELION (my installation cannot seem to natively open .jpg files the, at least using relion_display). However, e2proc2d.py is giving me an error when I try to perform the conversion. The command I am using (with eman2 v2.3) is:
e2proc2d.py FoilHole_27553537_Data_27541781_27541783_20220728_072412.jpg FoilHole_27553537_Data_27541781_27541783_20220728_072412.mrc
And I get the following error:
Traceback (most recent call last):
File "/absl/EM/emsoftware2/env-modules/install/eman2/2.3/bin/e2proc2d.py", line 1173, in <module>
main()
File "/absl/EM/emsoftware2/env-modules/install/eman2/2.3/bin/e2proc2d.py", line 450, in main
nimg = EMUtil.get_image_count(infile)
File "/fbs/emsoftware2/env-modules/install/eman2/2.3/lib/python2.7/site-packages/EMAN2db.py", line 545, in db_get_image_count
raise Exception(fsp)
Exception: FoilHole_27553537_Data_27541781_27541783_20220728_072412.jpg
Has anyone seen this error or know how to fix it? Some googling indicates it's to do with e2proc2d.py not properly recognising the file header but I couldn’t find any solution. Alternatively, can anyone recommend an alternative file conversion tool I could use?
Kind regards,
Sam
########################################################################
To unsubscribe from the CCPEM list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/WA-JISC.exe?SUBED1=CCPEM&A=1
This message was issued to members of www.jiscmail.ac.uk/CCPEM, a mailing list hosted by www.jiscmail.ac.uk, terms & conditions are available at https://www.jiscmail.ac.uk/policyandsecurity/
|