cianfrocco-lab / COSMIC-CryoEM-Gateway

Web platform for analyzing cryo-EM data on Comet cluster at San Diego Supercomputer Center
http://cosmic-cryoem.org
GNU General Public License v3.0
9 stars 1 forks source link

Report better error when STAR file path does not match with data upload #254

Open mcianfrocco opened 4 years ago

mcianfrocco commented 4 years ago

When user has incorrect directory name, comet_relion_submit gets tripped up and outputs a cryptic error:

Thu Aug 20 10:22:57 PDT 2020 > SUBMITTING : ERROR : COSMIC2-JOB-RELION_3D_INITIAL_MODEL_COMET-653D450A091149DF9FE5EECFA842F623 : java.lang.Exception: Error submitting job:

In this case, the star file had the wrong path. Instead of Extract/job998/particles.star it was J647/imported.

We need to catch this and report a usable error saying star file does not match input data path.