IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 27164


Ignore:
Timestamp:
Mar 3, 2010, 2:57:11 PM (16 years ago)
Author:
watersc1
Message:

Dumb typo I introduced yesterday after testing. Ready for test #5 for today.

File:
1 edited

Legend:

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

    r27149 r27164  
    127127    &my_die("Couldn't find original file: $uri\n", $exp_id,$exp_name,$class_id,$uri,$PS_EXIT_SYS_ERROR)
    128128        unless($ipprc->file_exists($uri));
     129    my $uriReal = $ipprc->file_resolve( $uri );
     130   
    129131    my $compUri = $uri . ".fz";
    130132    unless($ipprc->file_exists($compUri)) {
    131133        &my_die("Couldn't find compressed version of the file: $compUri\n",
    132134                $exp_id,$exp_name,$class_id,$uri,$PS_EXIT_SYS_ERROR);
     135
    133136        # If that die is removed, this will compress things as well.
    134137        &my_die("Output compressed file already exists: $compUri\n",
     
    142145        unless ($success) {
    143146            $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR);
    144             &my_die("Unable to compress file: $uri -> $compUri: $error_code", $exp_id,$exp_name,$class_id,$uri, $PS_EXIT_SYS_ERROR);
     147            &my_die("Unable to compress file: $uri -> $compUri: $error_code",
     148                    $exp_id,$exp_name,$class_id,$uri, $PS_EXIT_SYS_ERROR);
    145149        }
    146150    }
     
    179183        }
    180184        # remove original version
    181 #    $neb->delete($uri);
     185    $neb->delete($compUri);
    182186    }
    183187    exit(0);
Note: See TracChangeset for help on using the changeset viewer.