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