Changeset 34041 for branches/meh_branches/ppstack_test/ippTasks/addstar.pro
- Timestamp:
- Jun 19, 2012, 5:24:19 PM (14 years ago)
- Location:
- branches/meh_branches/ppstack_test
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ippTasks/addstar.pro (modified) (13 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/meh_branches/ppstack_test
- Property svn:mergeinfo changed
-
branches/meh_branches/ppstack_test/ippTasks/addstar.pro
r33415 r34041 26 26 active true 27 27 end 28 task addstar.exp.load.staticsky_multi29 active true30 end31 28 task addstar.exp.run 32 29 active true … … 44 41 active false 45 42 end 46 task addstar.exp.load.staticsky_multi47 active false48 end49 43 task addstar.exp.run 50 44 active false … … 62 56 active false 63 57 end 64 task addstar.revert.staticsky_multi65 active false66 end67 58 end 68 59 macro addstar.revert.on … … 71 62 end 72 63 task addstar.revert.stack 73 active true74 end75 task addstar.revert.staticsky_multi76 64 active true 77 65 end … … 90 78 $addstar_revert_DB_SSM = 0 91 79 80 $LOADEXEX_ADD = 300 81 82 92 83 93 84 # select images ready for addstar analysis … … 98 89 99 90 periods -poll $LOADPOLL 100 periods -exec $LOADEXEC 101 periods -timeout 30 91 periods -exec $LOADEXEC_ADD 92 periods -timeout 300 102 93 npending 1 103 94 … … 153 144 154 145 periods -poll $LOADPOLL 155 periods -exec $LOADEXEC 156 periods -timeout 30 146 periods -exec $LOADEXEC_ADD 147 periods -timeout 300 157 148 npending 1 158 149 … … 206 197 task addstar.exp.load.staticsky 207 198 host local 208 209 199 periods -poll $LOADPOLL 210 periods -exec $LOADEXEC211 periods -timeout 30 200 periods -exec 300 201 periods -timeout 300 212 202 npending 1 213 203 … … 218 208 # if ($LABEL:n == 0) break 219 209 $run = addtool -pendingexp -stage staticsky 220 if ($DB:n == 0)221 option DEFAULT222 else223 # save the DB name for the exit tasks224 option $DB:$addstar_DB225 $run = $run -dbname $DB:$addstar_DB226 $addstar_DB ++227 if ($addstar_DB >= $DB:n) set addstar_DB = 0228 end229 add_poll_args run230 add_poll_labels run231 command $run232 end233 234 # success235 task.exit 0236 # convert 'stdout' to book format237 ipptool2book stdout addPendingExp -key add_id -uniq -setword dbname $options:0 -setword pantaskState INIT238 if ($VERBOSE > 2)239 book listbook addPendingExp240 end241 242 # delete existing entries in the appropriate pantaskStates243 process_cleanup addPendingExp244 end245 246 # default exit status247 task.exit default248 showcommand failure249 end250 251 task.exit crash252 showcommand crash253 end254 255 # operation times out?256 task.exit timeout257 showcommand timeout258 end259 end260 261 task addstar.exp.load.staticsky_multi262 host local263 264 periods -poll $LOADPOLL265 periods -exec $LOADEXEC266 periods -timeout 30267 npending 1268 269 stdout NULL270 stderr $LOGDIR/addstar.exp.log271 272 task.exec273 # if ($LABEL:n == 0) break274 $run = addtool -pendingexp -stage staticsky_multi275 210 if ($DB:n == 0) 276 211 option DEFAULT … … 373 308 sprintf outroot "%s.add.%s" $STAGEROOT $ADD_ID 374 309 end 375 if ("$STAGE" == "staticsky_multi")376 sprintf outroot "%s.add.%s" $STAGEROOT $ADD_ID377 end378 310 if ("$STAGE" == "stack") 379 311 sprintf outroot "%s.add.%s" $STAGEROOT $ADD_ID … … 388 320 $run = $run --reduction $REDUCTION 389 321 end 390 if ("$STAGE" == "staticsky _multi")391 $run = $run -- multi_num $STAGE_EXTRA1322 if ("$STAGE" == "staticsky") 323 $run = $run --stage_extra1 $STAGE_EXTRA1 --stage_id $STAGE_ID 392 324 end 393 325 if ("$STAGE" == "cam") … … 529 461 end 530 462 end 463 531 464 task addstar.revert.staticsky 532 465 host local … … 544 477 if ($LABEL:n == 0) break 545 478 $run = addtool -revertprocessedexp -stage staticsky 546 if ($DB:n == 0)547 option DEFAULT548 else549 # save the DB name for the exit tasks550 option $DB:$addstar_revert_DB_SS551 $run = $run -dbname $DB:$addstar_revert_DB_SS552 $addstar_revert_DB_SS ++553 if ($addstar_revert_DB_SS >= $DB:n) set addstar_revert_DB_SS = 0554 end555 add_poll_labels run556 command $run557 end558 559 # success560 task.exit 0561 end562 563 # locked list564 task.exit default565 showcommand failure566 end567 568 task.exit crash569 showcommand crash570 end571 572 # operation times out?573 task.exit timeout574 showcommand timeout575 end576 end577 task addstar.revert.staticsky_multi578 host local579 580 periods -poll 5.0581 periods -exec 60.0582 periods -timeout 1200583 npending 1584 active false585 586 stdout NULL587 stderr $LOGDIR/revert.log588 589 task.exec590 if ($LABEL:n == 0) break591 $run = addtool -revertprocessedexp -stage staticsky_multi592 479 if ($DB:n == 0) 593 480 option DEFAULT
Note:
See TracChangeset
for help on using the changeset viewer.
