IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 30822


Ignore:
Timestamp:
Mar 8, 2011, 11:06:21 AM (15 years ago)
Author:
bills
Message:

if a chip has poor quality don't assert error_cleaned if the config file is missing

File:
1 edited

Legend:

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

    r30630 r30822  
    130130        $status = 0 unless defined $path_base and $path_base ne "NULL";
    131131
     132        my $poor_quality = $imfile->{quality} > 0;
     133
    132134        # don't clean up unless the data needed to update is available
    133135        # modes goto_purged and goto_scrubbed will remove files even if the config is non-existent
    134136        # goto_scrubbed now requires the config file to not exist.
    135         if ($status) {
     137        if ($status and !$poor_quality) {
    136138            if ($mode eq "goto_cleaned") {
    137139                my $config_file = $ipprc->filename("PPIMAGE.CONFIG", $path_base, $class_id);
Note: See TracChangeset for help on using the changeset viewer.