IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 11, 2018, 2:15:43 PM (8 years ago)
Author:
watersc1
Message:

Allow chip updates to regenerate files when the current copy only exists on permanently gone volumes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/chip_imfile.pl

    r36529 r40387  
    632632                if ($gone) {
    633633                    carp "WARNING: photometry sources storage object exists but all instances are permanently gone";
     634                    $ipprc->file_rename($outputSources,$outputSources . ".gone");
    634635                    $make_sources = 1;
    635636                }
     
    657658            if ($gone) {
    658659                carp "WARNING: PSF storage object exists but all instances are permanently gone";
     660                $ipprc->file_rename($outputPsf,$outputPsf . ".gone");
    659661                $make_psf = 1;
    660662            }
     
    742744            print STDERR "$file is on $volume which is gone\n";
    743745            $numGone++;
     746        } elsif ($answer eq 'permanently') {
     747            $numGone++;
    744748        } elsif ($answer eq 'available') {
    745749            $numNotGone++;
Note: See TracChangeset for help on using the changeset viewer.