Changeset 24554 for trunk/ippTasks/magic.pro
- Timestamp:
- Jun 25, 2009, 1:51:34 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/ippTasks/magic.pro (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTasks/magic.pro
r24184 r24554 278 278 book getword magicToProcess $pageName dbname -var DBNAME 279 279 280 # set.host.for.camera $CAMERA $MAGIC_ID 281 # set.workdir.by.camera $CAMERA $MAGIC_ID $WORKDIR_TEMPLATE $default_host WORKDIR 282 host anyhost 280 # XXX: we need new macros that select the host and workdir based on the NODE 281 # we also need to make the magic scripts able to deal with the workdir being spread 282 # around. That should not be too hard 283 # For now select nodes by skycell 284 285 substr $NODE 0 3 NODE_HEAD 286 if ("$NODE_HEAD" == "sky") 287 set.host.for.skycell $NODE 288 else 289 host anyhost 290 end 291 292 # currently DetectStreaks expects that the workdir is not in nebulous 293 # set.workdir.by.skycell $SKYCELL_ID $WORKDIR_TEMPLATE $default_host WORKDIR 283 294 $WORKDIR = $WORKDIR_TEMPLATE 284 295 … … 410 421 book getword magicToDS $pageName recoveryroot -var RECROOT 411 422 book getword magicToDS $pageName re_place -var REPLACE 412 book getword magicToDS $pageName remove -var REMOVE413 423 book getword magicToDS $pageName dbname -var DBNAME 414 424 … … 417 427 host anyhost 418 428 419 # TODO: do not add recoveryroot , replace, or remove if they are null or zero420 421 $run = magic_destreak.pl --magic_ds_id $MAGIC_DS_ID --camera $CAMERA --streaks $STREAKS --stage $STAGE --stage_id $STAGE_ID --component $COMPONENT --uri $URI --path_base $PATH_BASE --cam_path_base $CAM_PATH_BASE --outroot $OUTROOT --logfile $logfile --recoveryroot $RECROOT --replace $REPLACE --remove $REMOVE429 # TODO: do not add recoveryroot or replace if they are null or zero 430 431 $run = magic_destreak.pl --magic_ds_id $MAGIC_DS_ID --camera $CAMERA --streaks $STREAKS --stage $STAGE --stage_id $STAGE_ID --component $COMPONENT --uri $URI --path_base $PATH_BASE --cam_path_base $CAM_PATH_BASE --outroot $OUTROOT --logfile $logfile --recoveryroot $RECROOT --replace $REPLACE 422 432 if ("$INVERSE" == "T") 423 433 # Inverse subtraction
Note:
See TracChangeset
for help on using the changeset viewer.
