Changeset 27795 for trunk/PS-IPP-PStamp
- Timestamp:
- Apr 28, 2010, 2:18:01 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/PS-IPP-PStamp/lib/PS/IPP/PStamp/Job.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/PS-IPP-PStamp/lib/PS/IPP/PStamp/Job.pm
r27783 r27795 455 455 my $inverse = $option_mask & $PSTAMP_SELECT_INVERSE; 456 456 457 my $command = "$difftool -d iffskyfile -dbname $imagedb";457 my $command = "$difftool -dbname $imagedb"; 458 458 459 459 if ($byid) { 460 $command .= " - diff_id $id";460 $command .= " -listrun -diff_id $id"; 461 461 } else { 462 $command .= " -diff _skyfile_id $id";462 $command .= " -diffskyfile -diff_skyfile_id $id"; 463 463 } 464 464 $command .= " -skycell_id $skycell_id" if $skycell_id; 465 465 466 my $ images= runToolAndParse($command, $verbose);467 468 my $n = @$ images;466 my $output = runToolAndParse($command, $verbose); 467 468 my $n = @$output; 469 469 if (!$byid && ($n > 1)) { 470 470 die ("difftool returned an unexpected number of diffskyfiles: $n"); 471 471 } elsif ($n == 0) { 472 472 return undef; 473 } 474 475 my $images; 476 if ($byid) { 477 $images = selectComponents($ipprc, $imagedb, 'byid', 'diff', $rowList, $output, $verbose); 478 } else { 479 $images = $output; 473 480 } 474 481
Note:
See TracChangeset
for help on using the changeset viewer.
