Commit d4ce3358b727c947cd63ef86e467707043c1be83
1 parent
e95aad8c
Integrate code
Showing
2 changed files
with
2 additions
and
2 deletions
cscripts/csiactobs.py
| @@ -80,7 +80,7 @@ class csiactobs(ctools.cscript): | @@ -80,7 +80,7 @@ class csiactobs(ctools.cscript): | ||
| 80 | 80 | ||
| 81 | # Initialise application by calling the appropriate class constructor | 81 | # Initialise application by calling the appropriate class constructor |
| 82 | self._init_cscript(argv) | 82 | self._init_cscript(argv) |
| 83 | - | 83 | + |
| 84 | # Append an observation list to XML instance | 84 | # Append an observation list to XML instance |
| 85 | self._xml.append(gammalib.GXmlElement('observation_list title="observation list"')) | 85 | self._xml.append(gammalib.GXmlElement('observation_list title="observation list"')) |
| 86 | self._xml_obslist = self._xml.element('observation_list', 0) | 86 | self._xml_obslist = self._xml.element('observation_list', 0) |
test/test_csiactobs.py
| @@ -148,7 +148,7 @@ class Test(test): | @@ -148,7 +148,7 @@ class Test(test): | ||
| 148 | 148 | ||
| 149 | # Check empty observation definition XML file | 149 | # Check empty observation definition XML file |
| 150 | self._check_obsdef('csiactobs_obs_py0.xml', 0) | 150 | self._check_obsdef('csiactobs_obs_py0.xml', 0) |
| 151 | - | 151 | + |
| 152 | # Check empty model definition XML file | 152 | # Check empty model definition XML file |
| 153 | self._check_moddef('csiactobs_bgd_py0.xml', 0) | 153 | self._check_moddef('csiactobs_bgd_py0.xml', 0) |
| 154 | 154 |