Commit 7e01dd1274d789a73a8e4e93da1a4000c957a740
1 parent
ba06213b
reformat code
Showing
1 changed file
with
4 additions
and
4 deletions
src/ctselect/ctselect.cpp
| @@ -268,7 +268,7 @@ void ctselect::run(void) | @@ -268,7 +268,7 @@ void ctselect::run(void) | ||
| 268 | 268 | ||
| 269 | // Save observation in temporary file | 269 | // Save observation in temporary file |
| 270 | obs->save(filename, true); | 270 | obs->save(filename, true); |
| 271 | - | 271 | + |
| 272 | // Load observation from temporary file, including event selection | 272 | // Load observation from temporary file, including event selection |
| 273 | select_events(obs, filename); | 273 | select_events(obs, filename); |
| 274 | 274 | ||
| @@ -427,10 +427,10 @@ void ctselect::select_events(GCTAObservation* obs, const std::string& filename) | @@ -427,10 +427,10 @@ void ctselect::select_events(GCTAObservation* obs, const std::string& filename) | ||
| 427 | 427 | ||
| 428 | // Get temporary file name | 428 | // Get temporary file name |
| 429 | std::string tmpname = std::tmpnam(NULL); | 429 | std::string tmpname = std::tmpnam(NULL); |
| 430 | - | 430 | + |
| 431 | // Save FITS file to temporary file | 431 | // Save FITS file to temporary file |
| 432 | file.saveto(tmpname, true); | 432 | file.saveto(tmpname, true); |
| 433 | - | 433 | + |
| 434 | // Load observation from temporary file | 434 | // Load observation from temporary file |
| 435 | obs->load_unbinned(tmpname); | 435 | obs->load_unbinned(tmpname); |
| 436 | 436 | ||
| @@ -523,7 +523,7 @@ void ctselect::copy_members(const ctselect& app) | @@ -523,7 +523,7 @@ void ctselect::copy_members(const ctselect& app) | ||
| 523 | 523 | ||
| 524 | // Return | 524 | // Return |
| 525 | return; | 525 | return; |
| 526 | -} | 526 | +} |
| 527 | 527 | ||
| 528 | 528 | ||
| 529 | /***********************************************************************//** | 529 | /***********************************************************************//** |