aboutsummaryrefslogtreecommitdiffstats
path: root/astro/spectrum
diff options
context:
space:
mode:
Diffstat (limited to 'astro/spectrum')
-rwxr-xr-xastro/spectrum/sfr_chandra.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/astro/spectrum/sfr_chandra.pl b/astro/spectrum/sfr_chandra.pl
index 010c7cd..aa8cd59 100755
--- a/astro/spectrum/sfr_chandra.pl
+++ b/astro/spectrum/sfr_chandra.pl
@@ -637,8 +637,8 @@ foreach my $line (@region_lines) {
foreach my $reg (@cur_regs) {
print $FIT_REG "$reg\n"
}
+ close($FIT_REG);
}
- close($FIT_REG);
# Prepare source and background spectra {{{
print "Prepare source and background spectra \.\.\.\n";