Commit 1516d46a29dbb7cc5e2076ad8ef001074d7b525c
1 parent
fb6981b7
Reformatting
Showing
1 changed file
with
3 additions
and
3 deletions
cscripts/csphagen.py
| ... | ... | @@ -271,9 +271,9 @@ class csphagen(ctools.csobservation): |
| 271 | 271 | self._models = self.obs().models().clone() |
| 272 | 272 | self._srcname = self['srcname'].string() |
| 273 | 273 | elif self['inmodel'].is_valid(): |
| 274 | - inmodel = self['inmodel'].filename() | |
| 275 | - self._models = gammalib.GModels(inmodel) | |
| 276 | - self._srcname = self['srcname'].string() | |
| 274 | + inmodel = self['inmodel'].filename() | |
| 275 | + self._models = gammalib.GModels(inmodel) | |
| 276 | + self._srcname = self['srcname'].string() | |
| 277 | 277 | |
| 278 | 278 | # Set energy bounds |
| 279 | 279 | self._ebounds = self._create_ebounds() | ... | ... |