IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 8, 2007, 5:59:18 PM (19 years ago)
Author:
Paul Price
Message:

Fixing up workdir a bit better.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/detrend.resid.pro

    r12368 r12369  
    165165    exec mkdir -p $outroot
    166166
     167    $run = detrend_resid.pl --det_id $DET_ID --iteration $ITERATION --exp_tag $EXP_TAG --class_id $CLASS_ID --det_type $DET_TYPE --detrend $DET_URI --input_uri $URI --camera $CAMERA --mode $MODE $ARGS
     168    if ($WORKDIR != NULL)
     169      $run = $run --workdir $outroot
     170    end
     171
    167172    # save the pageName for future reference below
    168173    options $pageName
     
    170175    # create command
    171176    if ($VERBOSE > 1)
    172       echo command detrend_resid.pl --det_id $DET_ID --iteration $ITERATION --exp_tag $EXP_TAG --class_id $CLASS_ID --det_type $DET_TYPE --detrend $DET_URI --input_uri $URI --camera $CAMERA --mode $MODE --workdir $outroot $ARGS
    173     end
    174     command detrend_resid.pl --det_id $DET_ID --iteration $ITERATION --exp_tag $EXP_TAG --class_id $CLASS_ID --det_type $DET_TYPE --detrend $DET_URI --input_uri $URI --camera $CAMERA --mode $MODE --workdir $outroot $ARGS
     177      echo command $run
     178    end
     179    command $run
    175180  end
    176181
     
    283288    exec mkdir -p $outroot
    284289
     290    $run = detrend_reject_imfile.pl --det_id $DET_ID --iteration $ITERATION --exp_tag $EXP_TAG --det_type $DET_TYPE --camera $CAMERA $ARGS
     291    if ($WORKDIR != NULL)
     292      $run = $run --workdir $outroot
     293    end
     294
    285295    # save the pageName for future reference below
    286296    options $pageName
     
    288298    # create example job options as a demonstration
    289299    if ($VERBOSE > 1)
    290       echo command detrend_reject_imfile.pl --det_id $DET_ID --iteration $ITERATION --exp_tag $EXP_TAG --det_type $DET_TYPE --camera $CAMERA --workdir $outroot $ARGS
    291     end
    292     command detrend_reject_imfile.pl --det_id $DET_ID --iteration $ITERATION --exp_tag $EXP_TAG --det_type $DET_TYPE --camera $CAMERA --workdir $outroot $ARGS
     300      echo command $run
     301    end
     302    command $run
    293303  end
    294304
Note: See TracChangeset for help on using the changeset viewer.