Changeset 29155
- Timestamp:
- Sep 13, 2010, 2:51:50 PM (16 years ago)
- Location:
- tags/ipp-20100823/PS-IPP-PStamp
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
lib/PS/IPP/PStamp/Job.pm (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tags/ipp-20100823/PS-IPP-PStamp
- Property svn:mergeinfo changed
/trunk/PS-IPP-PStamp merged: 29154
- Property svn:mergeinfo changed
-
tags/ipp-20100823/PS-IPP-PStamp/lib/PS/IPP/PStamp/Job.pm
r29055 r29155 287 287 $choose_components = 1; 288 288 } 289 $command .= " -template" if $inverse; 289 290 $id_opt = $use_imfile_id ? "-diff_skyfile_id" : "-diff_id"; 290 291 $image_name = "PPSUB.OUTPUT"; … … 361 362 # The image selectors are such that multiple runs my have be returned for the same exposure. 362 363 # Return only the latest one. 363 $images = filterRuns($stage, $need_magic, $images, $ verbose);364 $images = filterRuns($stage, $need_magic, $images, $inverse, $verbose); 364 365 } 365 366 if ($choose_components) { … … 479 480 my $listrun = 0; 480 481 if ($byid) { 481 if ($skycell_id ) {482 if ($skycell_id and ($skycell_id ne 'all')) { 482 483 $command .= " -diffskyfile -diff_id $id -skycell_id $skycell_id"; 483 484 } else { … … 1235 1236 my $need_magic = shift; 1236 1237 my $inputs = shift; 1238 my $inverse = shift; 1237 1239 my $verbose = shift; 1238 1240 … … 1254 1256 my $printed = 0; 1255 1257 foreach my $input (@$inputs) { 1256 my $exp_id = $input->{exp_id}; 1258 my $exp_id; 1259 if ($stage ne "diff") { 1260 $exp_id = $input->{exp_id}; 1261 } elsif (!$inverse) { 1262 $exp_id = $input->{exp_id_1}; 1263 $input->{exp_id} = $exp_id; 1264 } else { 1265 $exp_id = $input->{exp_id_2}; 1266 $input->{exp_id} = $exp_id; 1267 } 1257 1268 my $run_id = $input->{$id_name}; 1258 1269 my $magicked = $input->{magicked}; # this will be either stageRun.magicked or stage%file.magicked … … 1260 1271 1261 1272 # can't process run in these states 1273 # XXX: also goto_purged or goto_scrubbed or drop 1262 1274 if (($state eq 'new') or ($state eq 'purged') or ($state eq 'scrubbed')) { 1263 1275 print "skipping ${stage}Run $run_id for exp_id $exp_id in state $state\n";
Note:
See TracChangeset
for help on using the changeset viewer.
