erneyramirez / relion_deepEMhancer_extRec

5 stars 0 forks source link

file write error #6

Open hnndlp opened 2 years ago

hnndlp commented 2 years ago

after deepemhancer finishes running, I get this error at every iteration. Should I set overwrite=True for

with mrcfile.open('%s/relion_external_reconstruct_deep1.mrc' %(dir)) as d1:

it get's handled as an exception and still runs, but unsure if there will be issues when half maps are written

=======error below============== Using TensorFlow backend. 0%| | 0/196 [00:00<?, ?it/s]Using TensorFlow backend. 100%|██████████| 196/196 [27:32<00:00, 8.43s/it]

Traceback (most recent call last): File "/mnt/shared/EM/installs/deepEMhancer/bin/deepemhancer", line 11, in sys.exit(commanLineFun()) File "/mnt/shared/EM/installs/deepEMhancer/lib/python3.6/site-packages/deepEMhancer/exeDeepEMhancer.py", line 80, in commanLineFun main( ** parseArgs() ) File "/mnt/shared/EM/installs/deepEMhancer/lib/python3.6/site-packages/deepEMhancer/exeDeepEMhancer.py", line 73, in main voxel_size=boxSize, apply_postprocess_cleaning=cleaningStrengh) File "/mnt/shared/EM/installs/deepEMhancer/lib/python3.6/site-packages/deepEMhancer/applyProcessVol/processVol.py", line 220, in predict saveVol(fname_out, processVol, samplingRate=boxSize) File "/mnt/shared/EM/installs/deepEMhancer/lib/python3.6/site-packages/deepEMhancer/utils/ioUtils.py", line 71, in saveVol with mrcfile.new(fname) as f: File "/mnt/shared/EM/installs/deepEMhancer/lib/python3.6/site-packages/mrcfile/load_functions.py", line 65, in new mrc = NewMrc(name, mode='w+', overwrite=overwrite) File "/mnt/shared/EM/installs/deepEMhancer/lib/python3.6/site-packages/mrcfile/mrcfile.py", line 103, in init "to overwrite it".format(name)) ValueError: File 'Refine3D/job089/relion_external_reconstruct_deep1.mrc' already exists; set overwrite=True to overwrite it