File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
SequenceAnalysis/pipeline_code
cluster/src/org/labkey/cluster/pipeline Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 191191 cd ../
192192 cp -R paragraph $LKTOOLS_DIR
193193 ln -s ${LKTOOLS_DIR} /paragraph/bin/paragraph ${LKTOOLS_DIR} /paragraph
194+ ln -s ${LKTOOLS_DIR} /paragraph/bin/idxdepth ${LKTOOLS_DIR} /idxdepth
194195 ln -s ${LKTOOLS_DIR} /paragraph/bin/multigrmpy.py ${LKTOOLS_DIR} /multigrmpy.py
195196else
196197 echo " Already installed"
Original file line number Diff line number Diff line change @@ -299,13 +299,14 @@ else if (headerFound)
299299 }
300300
301301 // NOTE: if the line has blank ending columns, trimmed lines might lack that value
302- if (maxRssIdx > -1 && maxRssIdx < tokens .length )
302+ if (( job . getClusterId () + ".0" ). equals ( id ) && maxRssIdx > -1 && maxRssIdx < tokens .length )
303303 {
304304 try
305305 {
306- if (NumberUtils .isCreatable (tokens [maxRssIdx ]))
306+ String maxRSS = StringUtils .trimToNull (tokens [maxRssIdx ]);
307+ if (maxRSS != null )
307308 {
308- long bytes = FileSizeFormatter .convertStringRepresentationToBytes (tokens [ maxRssIdx ] );
309+ long bytes = FileSizeFormatter .convertStringRepresentationToBytes (maxRSS );
309310 long requestInBytes = FileSizeFormatter .convertStringRepresentationToBytes (getConfig ().getRequestMemory () + "G" ); //request is always GB
310311 if (bytes > requestInBytes )
311312 {
You can’t perform that action at this time.
0 commit comments