Changeset 27689 for trunk/tools/diff_outputs.pl
- Timestamp:
- Apr 14, 2010, 4:49:24 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/tools/diff_outputs.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/diff_outputs.pl
r27026 r27689 8 8 use strict; 9 9 10 use Carp; 10 11 use DBI; 11 12 use constant DB_SOCKET => '/var/run/mysqld/mysqld.sock'; # Socket for mysql … … 35 36 'JPEG1' => '.b1.jpg', # Binned JPEG 36 37 'JPEG2' => '.b2.jpg', # Binned JPEG 37 #'KERNEL' => '.subkernel', # Convolution kernel38 'KERNEL' => '.subkernel', # Convolution kernel 38 39 'INVERSE.IMAGE' => '.inv.fits', # Image 39 40 'INVERSE.MASK' => '.inv.mask.fits', # Mask … … 140 141 141 142 my $file = "$path$ext"; # File 142 my $source = `ipp_datapath.pl $file` or die "Unable to locate $file\n"; # Actual file143 my $source = `ipp_datapath.pl $file` or (carp "Unable to locate $file\n" and return); # Actual file 143 144 chomp $source; 144 145 my ($target) = $source =~ m|^.*[:/](.*)|; # Target name 145 !system "cp $source $target" or die"Unable to copy $source\n";146 !system "cp $source $target" or carp "Unable to copy $source\n"; 146 147 }
Note:
See TracChangeset
for help on using the changeset viewer.
