IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 35996


Ignore:
Timestamp:
Aug 22, 2013, 1:14:35 PM (13 years ago)
Author:
bills
Message:

Sync up with the version that has been running in the ipp-20130712 tag. I apparently
backported a fix to the trunk incorrectly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/PS-IPP-PStamp/lib/PS/IPP/PStamp/Job.pm

    r35901 r35996  
    604604        # The image selectors are such that multiple runs my have be returned for the same exposure.
    605605        # Return only the latest one.
    606         $images = filterRuns($stage, $need_magic, $images, $inverse, $verbose);
     606        $images = filterRuns($stage, $choose_components, $need_magic, $images, $inverse, $verbose);
    607607    }
    608608
     
    16531653sub filterRuns {
    16541654    my $stage      = shift;
     1655    my $drop_duplicate_runs = shift;
    16551656    my $need_magic = shift;
    16561657    my $inputs     = shift;
     
    16981699        }
    16991700
    1700         $printed = 1 if (($exp_id == $last_exp_id) and ($run_id == $last_run_id));
     1701        # $printed = 1 if (($exp_id == $last_exp_id) and ($run_id == $last_run_id));
    17011702
    17021703        # skip if we need magicked run and this one has never been magicked
     
    17061707        }
    17071708
    1708         if (($exp_id == $last_exp_id) and ($run_id != $last_run_id)) {
     1709        if (($exp_id == $last_exp_id) and ($drop_duplicate_runs || ($run_id != $last_run_id))) {
    17091710            print "Skipping duplicate ${stage}Run $run_id for $exp_id\n" if !$printed;
    17101711            next;
Note: See TracChangeset for help on using the changeset viewer.