Changeset 11323 for trunk/ippTasks/phase2.pro
- Timestamp:
- Jan 26, 2007, 1:39:42 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippTasks/phase2.pro (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTasks/phase2.pro
r11236 r11323 26 26 end 27 27 28 # this variable will cycle through the known database names 29 $phase2_DB = 0 30 28 31 # select images ready for phase2 analysis 29 32 # new entries are added to p2PendingImfile … … 40 43 41 44 task.exec 42 command p2tool -pendingimfile -limit 20 45 if ($DB:n == 0) 46 option DEFAULT 47 command p2tool -pendingimfile -limit 20 48 else 49 # save the DB name for the exit tasks 50 option $DB:$phase2_DB 51 command p2tool -pendingimfile -limit 20 -dbname $DB:$phase2_DB 52 $phase2_DB ++ 53 if ($phase2_DB >= $DB:n) set phase2_DB = 0 54 end 43 55 end 44 56 … … 46 58 task.exit 0 47 59 # convert 'stdout' to book format 48 ipptool2book stdout p2PendingImfile -key exp_tag:class_id -uniq 60 ipptool2book stdout p2PendingImfile -key exp_tag:class_id -uniq -setword dbname $options:0 49 61 if ($VERBOSE > 2) 50 62 book listbook p2PendingImfile … … 53 65 # delete existing entries which are DONE 54 66 book delpage p2PendingImfile -key state DONE 67 book delpage p2PendingImfile -key state DATA_ERR 55 68 end 56 69 … … 87 100 book getword p2PendingImfile $pageName class_id -var CLASS_ID 88 101 book getword p2PendingImfile $pageName uri -var URI 102 book getword p2PendingImfile $pageName workdir -var WORKDIR 103 book getword p2PendingImfile $pageName dbname -var DBNAME 104 set_standard_args 89 105 90 106 # specify choice of remote host … … 108 124 # create the command line 109 125 if ($VERBOSE > 1) 110 echo command phase2.pl --exp_tag $EXP_TAG --class_id $CLASS_ID --uri $URI --camera $CAMERA 126 echo command phase2.pl --exp_tag $EXP_TAG --class_id $CLASS_ID --uri $URI --camera $CAMERA $ARGS 111 127 end 112 command phase2.pl --exp_tag $EXP_TAG --class_id $CLASS_ID --uri $URI --camera $CAMERA --workdir $WORKDIR128 command phase2.pl --exp_tag $EXP_TAG --class_id $CLASS_ID --uri $URI --camera $CAMERA $ARGS 113 129 end 114 130
Note:
See TracChangeset
for help on using the changeset viewer.
