IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

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

Merge from trunk of the change that I made there to skip neb-repair on non neb files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/czw_branch/20160809/ippScripts/scripts/detrend_process_imfile.pl

    r35302 r39708  
    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.