Changeset 35996
- Timestamp:
- Aug 22, 2013, 1:14:35 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/PS-IPP-PStamp/lib/PS/IPP/PStamp/Job.pm (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/PS-IPP-PStamp/lib/PS/IPP/PStamp/Job.pm
r35901 r35996 604 604 # The image selectors are such that multiple runs my have be returned for the same exposure. 605 605 # 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); 607 607 } 608 608 … … 1653 1653 sub filterRuns { 1654 1654 my $stage = shift; 1655 my $drop_duplicate_runs = shift; 1655 1656 my $need_magic = shift; 1656 1657 my $inputs = shift; … … 1698 1699 } 1699 1700 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)); 1701 1702 1702 1703 # skip if we need magicked run and this one has never been magicked … … 1706 1707 } 1707 1708 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))) { 1709 1710 print "Skipping duplicate ${stage}Run $run_id for $exp_id\n" if !$printed; 1710 1711 next;
Note:
See TracChangeset
for help on using the changeset viewer.
