IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 23702 for trunk/ippTasks


Ignore:
Timestamp:
Apr 3, 2009, 11:01:48 AM (17 years ago)
Author:
bills
Message:

pass distRun.no_magic to dist_component.pl to support cameras that don't require destreaking

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/dist.pro

    r23662 r23702  
    131131    book getword distToProcess $pageName state -var STATE
    132132    book getword distToProcess $pageName data_state -var DATA_STATE
     133    book getword distToProcess $pageName no_magic -var NO_MAGIC
    133134    book getword distToProcess $pageName magicked -var MAGICKED
    134135    book getword distToProcess $pageName outroot -var OUTROOT
    135136    book getword distToProcess $pageName dbname -var DBNAME
     137
     138    $EXTRA_FLAGS = ""
    136139    if ("$CLEAN" == "T")
    137         $CLEAN_ARG = "--clean"
    138     else
    139         $CLEAN_ARG = ""
     140        $EXTRA_FLAGS = --clean
    140141    end
    141142    # magicked is output as integer due to the union in the sql
    142143    if ($MAGICKED)
    143         $MAGICKED_ARG = "--magicked"
    144     else
    145         $MAGICKED_ARG = ""
     144        $EXTRA_FLAGS = $EXTRA_FLAGS --magicked
     145    end
     146    # no_magic is output as integer due to the union in the sql
     147    if ($NO_MAGIC)
     148        $EXTRA_FLAGS = $EXTRA_FLAGS --no_magic
    146149    end
    147150
     
    151154
    152155    sprintf logfile "%s/dist.%s.%s.log" $OUTROOT $DIST_ID $COMPONENT
    153 
    154     $run = dist_component.pl --dist_id $DIST_ID --camera $CAMERA --stage $STAGE --stage_id $STAGE_ID --component $COMPONENT --path_base $PATH_BASE --chip_path_base $CHIP_PATH_BASE --state $STATE --data_state $DATA_STATE $MAGICKED_ARG $CLEAN_ARG --outroot $OUTROOT --logfile $logfile
     156    stdout $logfile
     157    stderr $logfile
     158
     159    $run = dist_component.pl --dist_id $DIST_ID --camera $CAMERA --stage $STAGE --stage_id $STAGE_ID --component $COMPONENT --path_base $PATH_BASE --chip_path_base $CHIP_PATH_BASE --state $STATE --data_state $DATA_STATE $EXTRA_FLAGS --outroot $OUTROOT --logfile $logfile
    155160
    156161    add_standard_args run
     
    251256
    252257    sprintf logfile "%s/dist.advance.%s.log" $OUTROOT $DIST_ID
     258    stdout $logfile
     259    stderr $logfile
    253260
    254261    $run = dist_advancerun.pl --dist_id $DIST_ID --stage $STAGE --stage_id $STAGE_ID --outroot $OUTROOT --logfile $logfile
Note: See TracChangeset for help on using the changeset viewer.