IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 107


Ignore:
Timestamp:
Oct 7, 2003, 11:54:06 PM (23 years ago)
Author:
eugene
Message:

changed some errors to warnings to prevent users from receiving data

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/perl/src/elixir.export

    r69 r107  
    1818    if ($line =~ /^\s*\#/) { next; } # skip commented lines
    1919    $Nlist = ($id, $runids, $filters, $modes, $outdir) = split (" ", $line);
    20     if ($Nlist != 6) { die "ERROR in config file: $line\n"; }
     20    if ($Nlist != 6) { print STDERR "WARNING: error in config file: $line\n"; }
    2121    push @id, $id;
    2222    $runids{$id}  = $runids;
     
    4545
    4646    system ("cp $datfile $outdir{$id}\n");
    47     if ($?) { die "ERROR: can't write $datfile to $outdir{$id}\n"; }
     47    if ($?) { print STDERR "WARNING: can't write $datfile to $outdir{$id}\n"; }
    4848
    4949    open (FILE, ">>$outdir/export.tbl");
Note: See TracChangeset for help on using the changeset viewer.