Changeset 10454 for trunk/ippTasks
- Timestamp:
- Dec 4, 2006, 3:16:24 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippTasks/summit.copy.pro (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTasks/summit.copy.pro
r10416 r10454 150 150 for i 0 $Nstdout 151 151 queuepop stdout -var line 152 list word -split $line 153 $exp_id = $word:0 154 $camera = $word:1 155 $telescope = $word:2 156 $bytes = $word:3 157 $md5sum = $word:4 158 $class = $word:5 159 $class_id = $word:6 160 $uri = $word:7 161 162 queuepush pzPendingImfile -uniq -key 1:2:3:6:7 "NEW $line" 152 # list word -split $line 153 # $exp_id = $word:0 154 # $camera = $word:1 155 # $telescope = $word:2 156 # $file_id = $word:3 157 # $bytes = $word:4 158 # $md5sum = $word:5 159 # $class = $word:6 160 # $class_id = $word:7 161 # $uri = $word:8 162 # $exp_tag = $word:9 163 164 queuepush pzPendingImfile -uniq -key 1:2:3:7:8 "NEW $line" 163 165 end 164 166 … … 192 194 193 195 # put the line back into the queue with a stea of RUN 194 queuepush pzPendingImfile -replace -key 1:2:3: 6:7"RUN $line"196 queuepush pzPendingImfile -replace -key 1:2:3:7:8 "RUN $line" 195 197 196 198 # the STATE has already been removed from the line … … 199 201 $camera = $word:1 200 202 $telescope = $word:2 201 $bytes = $word:3 202 $md5sum = $word:4 203 $class = $word:5 204 $class_id = $word:6 205 $uri = $word:7 203 $file_id = $word:3 204 $bytes = $word:4 205 $md5sum = $word:5 206 $class = $word:6 207 $class_id = $word:7 208 $uri = $word:8 209 $exp_tag = $word:9 206 210 207 211 # # specify choice of remote host:(need to choose based on chips) … … 229 233 $camera = $word:1 230 234 $telescope = $word:2 231 $bytes = $word:3 232 $md5sum = $word:4 233 $class = $word:5 234 $class_id = $word:6 235 $uri = $word:7 235 $file_id = $word:3 236 $bytes = $word:4 237 $md5sum = $word:5 238 $class = $word:6 239 $class_id = $word:7 240 $uri = $word:8 241 $exp_tag = $word:9 236 242 queuepush pzCopyDone -key 1:2:3:6:7 "NEW $exp_id $camera $telescope $bytes $md5sum $class $class_id $workdir/$exp_id.$class_id.fits" 237 243 queuepush pzPendingExp -replace -key 1:2:3:6:7 "DONE $options:0" … … 265 271 266 272 # put the line back into the queue with a stea of RUN 267 queuepush pzCopyDone -replace -key 1:2:3: 6:7"RUN $line"273 queuepush pzCopyDone -replace -key 1:2:3:7:8 "RUN $line" 268 274 269 275 # the STATE has already been removed from the line … … 272 278 $camera = $word:1 273 279 $telescope = $word:2 274 $bytes = $word:3 275 $md5sum = $word:4 276 $class = $word:5 277 $class_id = $word:6 278 $uri = $word:7 280 $file_id = $word:3 281 $bytes = $word:4 282 $md5sum = $word:5 283 $class = $word:6 284 $class_id = $word:7 285 $uri = $word:8 286 $exp_tag = $word:9 279 287 280 288 # store the current line without the state 281 289 options "$line" 282 290 283 local cmd 284 $cmd = pztool -copydone -exp_id $exp_id -inst $camera -telescope $telescope -class $class -class_id $class_id -uri $uri 285 echo command $cmd 286 command $cmd 291 echo command pztool -copydone -exp_id $exp_id -inst $camera -telescope $telescope -class $class -class_id $class_id -uri $uri 292 command pztool -copydone -exp_id $exp_id -inst $camera -telescope $telescope -class $class -class_id $class_id -uri $uri 287 293 end 288 294
Note:
See TracChangeset
for help on using the changeset viewer.
