Commit d0045ac8e8ad053f7abca914876dac58326358dd
1 parent
ad1eef9b
Change self._set_input_obs() interface.
Showing
4 changed files
with
4 additions
and
4 deletions
cscripts/csobsinfo.py
| @@ -52,7 +52,7 @@ class csobsinfo(ctools.cscript): | @@ -52,7 +52,7 @@ class csobsinfo(ctools.cscript): | ||
| 52 | self._gti = gammalib.GGti() | 52 | self._gti = gammalib.GGti() |
| 53 | 53 | ||
| 54 | # Initialise observation container from constructor arguments. | 54 | # Initialise observation container from constructor arguments. |
| 55 | - self._obs = self._set_input_obs(argv) | 55 | + self._obs, argv = self._set_input_obs(argv) |
| 56 | 56 | ||
| 57 | # Initialise application by calling the appropriate class | 57 | # Initialise application by calling the appropriate class |
| 58 | # constructor. | 58 | # constructor. |
cscripts/cspull.py
| @@ -62,7 +62,7 @@ class cspull(ctools.cscript): | @@ -62,7 +62,7 @@ class cspull(ctools.cscript): | ||
| 62 | self._log_clients = False | 62 | self._log_clients = False |
| 63 | 63 | ||
| 64 | # Initialise observation container from constructor arguments. | 64 | # Initialise observation container from constructor arguments. |
| 65 | - self._obs = self._set_input_obs(argv) | 65 | + self._obs, argv = self._set_input_obs(argv) |
| 66 | 66 | ||
| 67 | # Initialise application by calling the appropriate class | 67 | # Initialise application by calling the appropriate class |
| 68 | # constructor. | 68 | # constructor. |
cscripts/csresmap.py
| @@ -74,7 +74,7 @@ class csresmap(ctools.cscript): | @@ -74,7 +74,7 @@ class csresmap(ctools.cscript): | ||
| 74 | self._log_clients = False | 74 | self._log_clients = False |
| 75 | 75 | ||
| 76 | # Initialise observation container from constructor arguments. | 76 | # Initialise observation container from constructor arguments. |
| 77 | - self._obs = self._set_input_obs(argv) | 77 | + self._obs, argv = self._set_input_obs(argv) |
| 78 | 78 | ||
| 79 | # Initialise application by calling the appropriate class | 79 | # Initialise application by calling the appropriate class |
| 80 | # constructor. | 80 | # constructor. |
cscripts/csspec.py
| @@ -60,7 +60,7 @@ class csspec(ctools.cscript): | @@ -60,7 +60,7 @@ class csspec(ctools.cscript): | ||
| 60 | self._debug = False | 60 | self._debug = False |
| 61 | 61 | ||
| 62 | # Initialise observation container from constructor arguments. | 62 | # Initialise observation container from constructor arguments. |
| 63 | - self._obs = self._set_input_obs(argv) | 63 | + self._obs, argv = self._set_input_obs(argv) |
| 64 | 64 | ||
| 65 | # Initialise application by calling the appropriate class | 65 | # Initialise application by calling the appropriate class |
| 66 | # constructor. | 66 | # constructor. |