this is the bug I mentioned before in the synapseICGCMonitor script, for
getResultID its returning a non-0 even when it succeeds.


On Mon, Apr 28, 2014 at 2:28 PM, Kyle Ellrott <notifications@github.com>wrote:

> In job_upload.sh:
>
> > @@ -44,14 +47,15 @@ if [ $? != 0 ]; then
> >  	exit 1
> >  fi
> >
> > -NEW_NORMAL_UUID=`$PYTHON $BASEDIR/synapseICGCMonitor getResultID $NORMAL_UUID --get-normal`
> > -if [ $? != 0 ]; then
> > +$PYTHON $BASEDIR/synapseICGCMonitor getResultID $NORMAL_UUID 2> $SUB_DIR/new_normal_uuid
> > +if [ $? != 1 ]; then
>
> What is the logic? Fail if it doesn't return an error?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/kellrott/tcga_realign/pull/2/files#r12068852>
> .
>