IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 31432


Ignore:
Timestamp:
May 4, 2011, 2:49:06 PM (15 years ago)
Author:
watersc1
Message:

update to magic_destreak.pl to not include the catalog if it doesn't exist (which is the case for the quickstack diffs).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/czw_branch/20110406/ippScripts/scripts/magic_destreak.pl

    r30694 r31432  
    360360        $command .= " -chip_mask $ch_mask" if defined $ch_mask;
    361361        $command .= " -weight $weight" if defined $weight;
    362         $command .= " -sources $sources" if defined $sources;
     362        if ((defined($sources))&&($ipprc->file_exists($sources))) {
     363            $command .= " -sources $sources" if defined $sources;
     364        }
     365        else {
     366            print "Did not add sources because the do not appear to exist. This may be an error.\n";
     367        }
    363368        $command .= " -skycelllist $skycell_list" if defined $skycell_list;
    364369        $command .= " -replace" if $replace;
Note: See TracChangeset for help on using the changeset viewer.