Changeset 24855 for trunk/pstamp/scripts/pstampparse.pl
- Timestamp:
- Jul 20, 2009, 8:29:18 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/pstamp/scripts/pstampparse.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pstamp/scripts/pstampparse.pl
r24831 r24855 240 240 foreach my $image (@$images) { 241 241 my $uri = $image->{image}; 242 if (($img_type ne "stack") and ($need_magic and !$image->{magicked})) { 243 print STDERR "skippping non-magicked image $uri\n" if $verbose; 244 next; 245 } 242 246 my $exp_id = $image->{exp_id}; 243 247 … … 261 265 } 262 266 263 # XXX sounds like magic will be handled outside of the postage stamp server264 #if ($need_magic) {265 # die "no magic mask available" if ! $image->{magic_mask};266 # $args .= " -magic_mask $image->{magic_mask}"267 #}268 269 267 # XXX: TODO: here is where we need to check whether or not the source inputs still exist 270 # and if not, queue a regenerationjob and set the job state appropriately.271 272 my $ state = "run";268 # and if not, queue an update job and set the job state appropriately. 269 270 my $newState = "run"; 273 271 274 272 $num_jobs++; 275 273 my $command = "$pstamptool -addjob -req_id $req_id -job_type $job_type" 276 274 . " -uri $uri -outputBase $output_base -args '$args' -rownum $rownum" 277 . " -state $ state";275 . " -state $newState"; 278 276 $command .= " -exp_id $exp_id" if $exp_id; 279 277 $command .= " -dbname $dbname" if $dbname;
Note:
See TracChangeset
for help on using the changeset viewer.
