Changeset 18142 for trunk/ippTasks
- Timestamp:
- Jun 15, 2008, 8:11:07 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippTasks/chip.pro (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTasks/chip.pro
r18019 r18142 263 263 book setword chipPendingCleanup $pageName pantaskState RUN 264 264 book getword chipPendingCleanup $pageName camera -var CAMERA 265 book getword chipPendingCleanup $pageName exp_id -var EXP_ID266 book getword chipPendingCleanup $pageName exp_tag -var EXP_TAG267 book getword chipPendingCleanup $pageName chip_id -var CHIP_ID268 book getword chipPendingCleanup $pageName workdir -var WORKDIR_TEMPLATE269 265 book getword chipPendingCleanup $pageName class_id -var CLASS_ID 270 book getword chipPendingCleanup $pageName uri -var URI 266 book getword chipPendingCleanup $pageName cleanup_mode -var CLEANUP_MODE 267 book getword chipPendingCleanup $pageName path_base -var PATH_BASE 271 268 book getword chipPendingCleanup $pageName dbname -var DBNAME 272 book getword chipPendingCleanup $pageName reduction -var REDUCTION273 269 274 270 # specify choice of local or remote host based on camera and chip (class_id) 275 271 set.host.for.camera $CAMERA $CLASS_ID 276 272 277 # raw workdir examples:278 # file://data/@HOST@.0/gpc1/20080130279 # neb:///@HOST@-vol0/gpc1/20080130 (need to supply volname?, or are we re-defining this each time?)280 set.workdir.by.camera $CAMERA $CLASS_ID $WORKDIR_TEMPLATE $default_host WORKDIR281 # out workdir examples:282 # file://data/ipp004.0/gpc1/20080130283 # neb:///ipp004-vol0/gpc1/20080130284 285 ## generate outroot specific to this exposure (& chip)286 # XXX probably do not need to build the outroot287 sprintf outroot "%s/%s/%s.ch.%s" $WORKDIR $EXP_TAG $EXP_TAG $CHIP_ID288 289 273 ## generate output log based on filerule (convert the URI to a PATH) 290 $logfile = `ipp_filename.pl --filerule LOG.IMFILE --camera $CAMERA --class_id $CLASS_ID --basename $ outroot`274 $logfile = `ipp_filename.pl --filerule LOG.IMFILE --camera $CAMERA --class_id $CLASS_ID --basename $PATH_BASE` 291 275 if ("$logfile" == "") 292 276 echo "WARNING: logfile not defined in chip.pro:152" … … 300 284 301 285 # XXX is everything listed here needed? 302 $run = chip_cleanup.pl --exp_id $EXP_ID --chip_id $CHIP_ID --class_id $CLASS_ID --exp_tag $EXP_TAG --uri $URI --camera $CAMERA --outroot $outroot 303 if ("$REDUCTION" != "NULL") 304 $run = $run --reduction $REDUCTION 305 end 286 $run = ipp_cleanup.pl --stage chip --camera $CAMERA --class_id $CLASS_ID --mode $CLEANUP_MODE --path_base $PATH_BASE 306 287 add_standard_args run 307 288
Note:
See TracChangeset
for help on using the changeset viewer.
