Changeset 23395
- Timestamp:
- Mar 18, 2009, 10:25:01 AM (17 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
ippScripts/scripts/chip_imfile.pl (modified) (3 diffs)
-
ippTasks/chip.pro (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/chip_imfile.pl
r23295 r23395 37 37 # Parse the command-line arguments 38 38 my ( $exp_id, $chip_id, $class_id, $chip_imfile_id, $uri, $camera, $outroot, $dbname, $run_state, $reduction, $threads, $verbose, 39 $no_update, $no_op, $redirect );39 $no_update, $no_op, $redirect, $magicked ); 40 40 GetOptions( 41 41 'exp_id=s' => \$exp_id, # Exposure identifier … … 49 49 'reduction=s' => \$reduction, # Reduction class 50 50 'run-state=s' => \$run_state, # current state of the run (new, update) 51 'magicked' => \$magicked, # magicked state of intput file 51 52 'threads=s' => \$threads, # Number of threads to use for ppImage 52 53 'verbose' => \$verbose, # Print to stdout … … 215 216 $command .= " -uri $outputImage"; 216 217 $command .= " -path_base $outroot"; 218 $command .= " -magicked" if $magicked; 217 219 $command .= " -hostname $host" if defined $host; 218 220 $command .= " -dbname $dbname" if defined $dbname; -
trunk/ippTasks/chip.pro
r23282 r23395 142 142 book getword chipPendingImfile $pageName exp_id -var EXP_ID 143 143 book getword chipPendingImfile $pageName exp_tag -var EXP_TAG 144 book getword chipPendingImfile $pageName raw_magicked -var RAW_MAGICKED 144 145 book getword chipPendingImfile $pageName chip_id -var CHIP_ID 145 146 book getword chipPendingImfile $pageName chip_imfile_id -var CHIP_IMFILE_ID … … 151 152 book getword chipPendingImfile $pageName state -var RUN_STATE 152 153 154 if ("$RAW_MAGICKED" == "T") 155 $MAGICKED_ARG = "-magicked" 156 else 157 $MAGICKED_ARG = "" 158 end 159 153 160 # specify choice of local or remote host based on camera and chip (class_id) 154 161 set.host.for.camera $CAMERA $CLASS_ID … … 171 178 stderr $LOGDIR/chip.imfile.log 172 179 173 $run = chip_imfile.pl --threads @MAX_THREADS@ --exp_id $EXP_ID --chip_id $CHIP_ID --chip_imfile_id $CHIP_IMFILE_ID --class_id $CLASS_ID --uri $URI --camera $CAMERA --run-state $RUN_STATE --outroot $outroot --redirect-output180 $run = chip_imfile.pl --threads @MAX_THREADS@ --exp_id $EXP_ID --chip_id $CHIP_ID --chip_imfile_id $CHIP_IMFILE_ID --class_id $CLASS_ID --uri $URI --camera $CAMERA --run-state $RUN_STATE $MAGICKED_ARG --outroot $outroot --redirect-output 174 181 if ("$REDUCTION" != "NULL") 175 182 $run = $run --reduction $REDUCTION
Note:
See TracChangeset
for help on using the changeset viewer.
