IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 19, 2009, 3:19:16 PM (17 years ago)
Author:
bills
Message:

make --clean and --magicked args booleans manage conversion in task

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/dist.pro

    r23253 r23440  
    134134    book getword distToProcess $pageName outroot -var OUTROOT
    135135    book getword distToProcess $pageName dbname -var DBNAME
     136    if ("$CLEAN" = "T")
     137        $CLEAN_ARG = "--clean"
     138    else
     139        $CLEAN_ARG = ""
     140    end
     141    # magicked is output as integer due to the union in the sql
     142    if ($MAGICKED)
     143        $MAGICKED_ARG = "--magicked"
     144    else
     145        $MAGICKED_ARG = ""
     146    end
    136147
    137148#    set.host.for.camera $CAMERA $MAGIC_ID
     
    141152    sprintf logfile "%s/dist.%s.%s.log" $OUTROOT $DIST_ID $COMPONENT
    142153
    143     $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 $MAGICKED --clean $CLEAN --outroot $OUTROOT --logfile $logfile
     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
    144155
    145156    add_standard_args run
Note: See TracChangeset for help on using the changeset viewer.