diff options
author | Aaron LI <aly@aaronly.me> | 2019-10-20 22:32:02 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2019-10-20 22:32:02 +0800 |
commit | 7a626f6e242adf473184d4c0bb06929e5ce2fb43 (patch) | |
tree | 3453bd19cf432a6c2dda3ecc1033acbf2bd59cce | |
parent | 30f17b89f09b8f531a9fb61175b4c456ded3b843 (diff) | |
download | atoolbox-7a626f6e242adf473184d4c0bb06929e5ce2fb43.tar.bz2 |
astro/sfr_chandra.pl: Fix bug of creating region file
-rwxr-xr-x | astro/spectrum/sfr_chandra.pl | 2 |
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"; |