Changeset 11323 for trunk/ippTasks/detrend.reject.pro
- Timestamp:
- Jan 26, 2007, 1:39:42 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippTasks/detrend.reject.pro (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTasks/detrend.reject.pro
r11235 r11323 26 26 end 27 27 28 # this variable will cycle through the known database names 29 $detRejectExp_DB = 0 30 28 31 # select images ready for copy 29 32 # new entries are added to detRejectExp … … 40 43 41 44 task.exec 42 command dettool -residdetrun -limit 20 45 if ($DB:n == 0) 46 option DEFAULT 47 command dettool -residdetrun -limit 20 48 else 49 # save the DB name for the exit tasks 50 option $DB:$detRejectExp_DB 51 command dettool -residdetrun -limit 20 -dbname $DB:$detRejectExp_DB 52 $detRejectExp_DB ++ 53 if ($detRejectExp_DB >= $DB:n) set detRejectExp_DB = 0 54 end 43 55 end 44 56 … … 46 58 task.exit 0 47 59 # convert 'stdout' to book format 48 ipptool2book stdout detRejectExp -key det_id:iteration -uniq 60 ipptool2book stdout detRejectExp -key det_id:iteration -uniq -setword dbname $options:0 49 61 if ($VERBOSE > 2) 50 62 book listbook detRejectExp … … 53 65 # delete existing entries which are DONE 54 66 book delpage detRejectExp -key state DONE 67 book delpage detRejectExp -key state DATA_ERR 55 68 end 56 69 … … 87 100 book getword detRejectExp $pageName mode -var MODE 88 101 book getword detRejectExp $pageName camera -var CAMERA 102 book getword detRejectExp $pageName workdir -var WORKDIR 103 book getword detRejectExp $pageName dbname -var DBNAME 104 set_standard_args 89 105 90 106 # specify choice of remote host: … … 104 120 # create example job options as a demonstration 105 121 if ($VERBOSE > 1) 106 echo command detrend_reject_exp.pl --det_id $DET_ID --iteration $ITERATION --det_type $DET_TYPE --camera $CAMERA 122 echo command detrend_reject_exp.pl --det_id $DET_ID --iteration $ITERATION --det_type $DET_TYPE --camera $CAMERA $ARGS 107 123 end 108 command detrend_reject_exp.pl --det_id $DET_ID --iteration $ITERATION --det_type $DET_TYPE --camera $CAMERA 124 command detrend_reject_exp.pl --det_id $DET_ID --iteration $ITERATION --det_type $DET_TYPE --camera $CAMERA $ARGS 109 125 end 110 126
Note:
See TracChangeset
for help on using the changeset viewer.
