IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 39707 for trunk


Ignore:
Timestamp:
Sep 20, 2016, 3:20:56 PM (10 years ago)
Author:
watersc1
Message:

Commit of change to det_proc_imfile to not attempt to neb-repair non-neb files.

File:
1 edited

Legend:

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

    r35302 r39707  
    126126# Run ppImage
    127127unless ($no_op) {
    128     my $repair_cmd = "$nebrepair $input_uri";
    129     my ($repair_success, $repair_error_code, $repair_full_buf, $repair_stdout_buf, $repair_stderr_buf ) = run(command => $repair_cmd, verbose => $verbose);
    130     unless ($repair_success) {
    131         &my_die("Unable to attempt repair: $input_uri $repair_error_code", $det_id, $exp_id, $class_id, $PS_EXIT_SYS_ERROR);
     128    if ($input_uri =~ /neb/) {
     129        my $repair_cmd = "$nebrepair $input_uri";
     130        my ($repair_success, $repair_error_code, $repair_full_buf, $repair_stdout_buf, $repair_stderr_buf ) = run(command => $repair_cmd, verbose => $verbose);
     131        unless ($repair_success) {
     132            &my_die("Unable to attempt repair: $input_uri $repair_error_code", $det_id, $exp_id, $class_id, $PS_EXIT_SYS_ERROR);
     133        }
    132134    }
    133135
Note: See TracChangeset for help on using the changeset viewer.