IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 23, 2008, 3:10:34 PM (18 years ago)
Author:
eugene
Message:

fix parsing of data from stdout

File:
1 edited

Legend:

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

    r19662 r19723  
    183183        &my_die("Unable to perform ppStatsFromMetadata: $error_code", $det_id, $iter, $exp_id, $class_id, $error_code);
    184184    }
    185     $cmdflags = "@$stdout_buf"; chomp $cmdflags;
     185    foreach my $line (@$stdout_buf) {
     186        $cmdflags .= " $line";
     187    }
     188    chomp $cmdflags;
    186189
    187190    # run ppStats on the binned image
     
    193196        &my_die("Unable to perform ppStats: $error_code", $det_id, $iter, $exp_id, $class_id, $error_code);
    194197    }
    195     $cmdflags .= " @$stdout_buf"; chomp $cmdflags;
     198    foreach my $line (@$stdout_buf) {
     199        $cmdflags .= " $line";
     200    }
     201    chomp $cmdflags;
    196202}
    197203
Note: See TracChangeset for help on using the changeset viewer.