Changeset 27662
- Timestamp:
- Apr 12, 2010, 12:31:27 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/tools/chip_outputs.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/chip_outputs.pl
r24624 r27662 16 16 'VARIANCE' => '.ch.wt.fits', # Variance 17 17 'SOURCES' => '.cmf', # Sources 18 'PSF' => '.psf', # Point-spread function 18 19 }; 19 20 … … 83 84 my $neb = "$path$ext"; # Nebulous file 84 85 my $source = `neb-locate --path $neb`; 85 if (!$source) { 86 print "Unable to locate $neb\n"; # Actual file87 return;86 if (!$source) { 87 print "Unable to locate $neb\n"; # Actual file 88 return; 88 89 } 89 90 chomp $source; … … 91 92 my $status = system "cp $source $target"; 92 93 if ($status) { 93 print "Unable to copy $source\n";94 return;94 print "Unable to copy $source\n"; 95 return; 95 96 } 96 97 }
Note:
See TracChangeset
for help on using the changeset viewer.
