lcls-psana / psocake

3 stars 12 forks source link

handling of spaces in the GUI #21

Open fredericpoitevin opened 3 years ago

fredericpoitevin commented 3 years ago

I encountered the following situation when indexing with multiple indexers. Entering mosflm,xgandalf,dirax,xds in the Indexing method field worked, but mosflm, xgandalf, dirax, xds did not.

Indeed this field is given as one string to indexamajig which expects no spaces:

Submitting job:  bsub -q psfehq -o /reg/d/psdm/cxi/cxilv4418/scratch/fpoitevi/psocake/r0222/.%J.log -J cxilv4418_222_6_at2v3nocell -n 1 -x indexamajig -i /reg/d/psdm/cxi/cxilv4418/scratch/fpoitevi/psocake/r0222/temp_cxilv4418_222_6_at2v3nocell.lst -j '`nproc`' -g /reg/d/psdm/cxi/cxilv4418/scratch/fpoitevi/psocake/r0219/.temp.geom --peaks=cxi --int-radius=4,5,6 --indexing=dirax,mosflm,xgandalf,xds -o /reg/d/psdm/cxi/cxilv4418/scratch/fpoitevi/psocake/r0222/temp_cxilv4418_222_6_at2v3nocell.stream --temp-dir=/scratch --tolerance=5,5,5,1.5 --no-revalidate --multi --profile

Adding spaces breaks up the command and results in Error.