IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 22, 2010, 11:54:52 AM (16 years ago)
Author:
bills
Message:

copy streakMap and cluters.list and replicate them. dont' replicate images

File:
1 edited

Legend:

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

    r29504 r29524  
    9090
    9191# list of VerifyStreaks input and output files to copy to nebulous
    92 my @verify_outputs = qw(
    93 clusterPos.txt
    94 duplicate.png
    95 mask.png
    96 original.png
    97 original.fits
    98 residual.png
    99 residual.fits
    100 clusters.list
     92my %verify_outputs = (
     93'clusterPos.txt' => 0,
     94'duplicate.png' => 0,
     95'mask.png' => 0,
     96'original.png' => 0,
     97'original.fits' => 0,
     98'residual.png' => 0,
     99'residual.fits' => 0,
     100'clusters.list' => 1
    101101);
    102102
     
    403403    if ($output_streaks and ($output_streaks ne $streaks_file)) {
    404404        copy_to_nebulous($ipprc, $streaks_file, $output_streaks, 1);
    405         foreach my $f (@verify_outputs) {
     405        my $streaks_map = $outroot . ".streakMap";
     406        my $output_streaks_map = $final_outroot . ".streakMap";
     407        copy_to_nebulous($ipprc, $streaks_map, $output_streaks_map, 1);
     408        foreach my $f (keys %verify_outputs) {
     409            my $replicate = $verify_outputs{$f};
    406410            my $src = "$baseroot.verify/${exp_id}_$f";
    407411            my $dest = "$final_outroot.${f}";
    408             copy_to_nebulous($ipprc, $src, $dest, 1);
     412            copy_to_nebulous($ipprc, $src, $dest, $replicate);
    409413        }
    410414    } else {
Note: See TracChangeset for help on using the changeset viewer.