logicvay2010 / TomoNet

TomoNet is a GUI based pipeline package focusing on cryoET and STA data processing
http://dx.doi.org/10.1017/S2633903X24000060
MIT License
14 stars 2 forks source link

Run Particle Expansion #22

Closed ncoudray closed 2 months ago

ncoudray commented 3 months ago

Hi -

When running the "Particle Expansion" job, I get tthe following error message:

Traceback (most recent call last):
  File "/data/apps/extern/sbgrid/x86_64-linux/tomonet/beta_03/bin/sta_expand.py", line 99, in <module>
    tomo, search_param, target_cache_folder, peet_iter, end_signal_c = sta_peet_one(star_file, param_file, tomoName, cpus, first_round)
  File "/data/apps/extern/sbgrid/x86_64-linux/tomonet/beta_03/TomoNet/bin/sta_peet.py", line 223, in sta_peet_one
    com_read = open("{}/{}".format(tomo.staPath,com_file),"r")
FileNotFoundError: [Errno 2] No such file or directory: '/vast/gbhabha1/JHU_hot_data/home/ncoudra1/ClustersTest/SBGrid_packages/TomoNet_20240807/Expand/expand1_result/PW_BE_028_ts_018_4xBin_REC_1500volz_500alz/PW_BE_028_ts_018_4xBin_REC_1500volz_500alz-001.com'
Traceback (most recent call last):
  File "/data/apps/extern/sbgrid/x86_64-linux/tomonet/beta_03/TomoNet/process/bash_expand.py", line 29, in run
    subprocess.check_output(cmd, shell=True)
  File "/data/apps/extern/sbgrid/x86_64-linux/tomonet/beta_03/mamba/lib/python3.8/subprocess.py", line 415, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/data/apps/extern/sbgrid/x86_64-linux/tomonet/beta_03/mamba/lib/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 'sta_expand.py /vast/gbhabha1/JHU_hot_data/home/ncoudra1/ClustersTest/SBGrid_packages/TomoNet_20240807/Expand/expand1_result/tomograms1.star /vast/gbhabha1/JHU_hot_data/home/ncoudra1/ClustersTest/SBGrid_packages/TomoNet_20240807/Expand/newpick1.params PW_BE_028_ts_018_4xBin_REC_1500volz_500alz 7 12 8' returned non-zero exit status 1.
/data/apps/extern/sbgrid/share/capsules/lib/job.sh: line 126: 937862 Aborted                 (core dumped) "$SB_EXECFILE" "$@"

Any idea what could have gone wrong? Thanks, --Nicolas

ncoudray commented 2 months ago

ok - found the issue: it needs a certain version of imod.

So it ran, but the final GUI, the number of rounds and particles is not updated. From the log, looks like it should have been updated to 7 rounds and 307 particles

image

If I double click on "3dmod", you see it searches for a folder which does not exist directly under "Expand" (It actually exists but under another subfolder, Expand/expand1_result"

logicvay2010 commented 2 months ago

Sorry for the late reply, I did not see your first message. I see, you can set the "Select Expand Folder" to the "xx/expand1_result" to display the results under that folder. Another way to check this: go to the selected expand folder (as indicated in the tomograms1.star), and check if the xxx_final folder exists. All coords and angular results should be saved there Please let me know if this does not works.

ncoudray commented 2 months ago

Ah, yes, that makes sense, thanks!