Commit 8f3a330609c39224ed885ac88ef5f1f9b13af744
1 parent
407d81a1
Integrate code
Showing
2 changed files
with
4 additions
and
4 deletions
cscripts/csobs2caldb.py
| ... | ... | @@ -146,10 +146,10 @@ class csobs2caldb(ctools.cscript): |
| 146 | 146 | fits = gammalib.GFits() |
| 147 | 147 | |
| 148 | 148 | # Create GFilename instances |
| 149 | - fname_aeff = gammalib.GFilename(rsp.aeff().filename()) | |
| 150 | - fname_psf = gammalib.GFilename(rsp.psf().filename()) | |
| 149 | + fname_aeff = gammalib.GFilename(rsp.aeff().filename()) | |
| 150 | + fname_psf = gammalib.GFilename(rsp.psf().filename()) | |
| 151 | 151 | fname_edisp = gammalib.GFilename(rsp.edisp().filename()) |
| 152 | - fname_bkg = gammalib.GFilename(rsp.background().filename()) | |
| 152 | + fname_bkg = gammalib.GFilename(rsp.background().filename()) | |
| 153 | 153 | |
| 154 | 154 | # Open FITS files of response components |
| 155 | 155 | fits_aeff = gammalib.GFits(fname_aeff.filename()) | ... | ... |
src/support/ctool.cpp
| ... | ... | @@ -417,7 +417,7 @@ GEbounds ctool::create_ebounds(void) |
| 417 | 417 | // Create filename instance |
| 418 | 418 | GFilename fname(ebinfile); |
| 419 | 419 | |
| 420 | - // Check if extension name was provided | |
| 420 | + // Check if extension name was provided | |
| 421 | 421 | if (!fname.has_extname()) { |
| 422 | 422 | |
| 423 | 423 | // Open energy boundary file using the EBOUNDS or ENERGYBINS | ... | ... |