- Timestamp:
- Mar 30, 2012, 2:49:37 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20111122/PS-IPP-PStamp/lib/PS/IPP/PStamp/Job.pm
r32731 r33638 351 351 $command .= " -dateobs_begin $dateobs_begin" if $dateobs_begin; 352 352 $command .= " -dateobs_end $dateobs_end" if $dateobs_end; 353 } els e{353 } elsif ($req_type ne "byid") { 354 354 $command .= " -mjd_obs_begin $mjd_min" if $mjd_min; 355 355 $command .= " -mjd_obs_end $mjd_max" if $mjd_max; … … 438 438 } elsif ($stage eq "stack") { 439 439 $stage_id = $out->{stack_id}; 440 # dquery wants these set 441 $out->{magicked} = 0; 442 $out->{data_state} = $out->{state}; 440 443 } 441 444 $out->{stage_id} = $stage_id; … … 487 490 my $command = "$difftool -dbname $imagedb -pstamp_order"; 488 491 489 my $ listrun= 0;492 my $choose_components = 0; 490 493 if ($byid) { 491 494 if ($skycell_id and ($skycell_id ne 'all')) { 492 495 $command .= " -diffskyfile -diff_id $id -skycell_id $skycell_id"; 493 496 } else { 494 $ listrun= 1;497 $choose_components = 1; 495 498 $command .= " -listrun -diff_id $id"; 496 499 # the following is a work around for the problem reported in ticket #1394 … … 512 515 513 516 my $images; 514 if ($ listrun) {517 if ($choose_components) { 515 518 $images = selectComponents($ipprc, $imagedb, 'byid', 'diff', $rowList, $output, $verbose); 516 519 } else { … … 603 606 my @imageList = ($image); 604 607 605 setRowRefs($rowList, \@imageList) ;608 setRowRefs($rowList, \@imageList) unless $choose_components; 606 609 # the $image is going to be returned directly in this case so we need to duplicate 607 610 # some of processing that lookup does for other img_types … … 847 850 { 848 851 my $command = "$whichimage $ra $dec"; 852 $command .= " --tess_id $requested_tess_id" if $requested_tess_id; 849 853 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 850 854 run(command => $command, verbose => $verbose);
Note:
See TracChangeset
for help on using the changeset viewer.
