IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 35624


Ignore:
Timestamp:
Jun 3, 2013, 2:36:11 PM (13 years ago)
Author:
bills
Message:

fix silly scope bug that caused bycoord chip requests to fail unless releasetool
is to be used. I'm shocked nobody reported this it has been in production for
a month!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tags/ipp-20130307/PS-IPP-PStamp/lib/PS/IPP/PStamp/Job.pm

    r35621 r35624  
    10251025    } else {
    10261026        $using_camtool = 1;
    1027         my $command = "$camtool -dbname $imagedb -processedexp -pstamp_order";
    1028            # NOTE: we are applying the data_group to the camera run.
    1029            # If we're looking for chip stage images there is no guarentee that
    1030            # chipRun.data_group eq camRun.data_group. In practice this is almost
    1031            # always the case. If this turns out to be a problem we can defer
    1032            # the data_group test to when we look up the chipProcessedImfiles
    1033            if ($data_group) {
    1034                $command .= " -data_group $data_group";
    1035            } else {
    1036                $command .= $default_data_groups;
    1037            }
    1038            $command .= " -destreaked" if $need_magic;
     1027        $command = "$camtool -dbname $imagedb -processedexp -pstamp_order";
     1028        # NOTE: we are applying the data_group to the camera run.
     1029        # If we're looking for chip stage images there is no guarentee that
     1030        # chipRun.data_group eq camRun.data_group. In practice this is almost
     1031        # always the case. If this turns out to be a problem we can defer
     1032        # the data_group test to when we look up the chipProcessedImfiles
     1033        if ($data_group) {
     1034            $command .= " -data_group $data_group";
     1035        } else {
     1036            $command .= $default_data_groups;
     1037        }
     1038        $command .= " -destreaked" if $need_magic;
    10391039    }
    10401040    $command .= " -ra $ra -decl $dec -radius $search_radius";
Note: See TracChangeset for help on using the changeset viewer.