Commit d0045ac8e8ad053f7abca914876dac58326358dd

Authored by Jürgen Knödlseder
1 parent ad1eef9b

Change self._set_input_obs() interface.

cscripts/csobsinfo.py
... ... @@ -52,7 +52,7 @@ class csobsinfo(ctools.cscript):
52 52 self._gti = gammalib.GGti()
53 53  
54 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 57 # Initialise application by calling the appropriate class
58 58 # constructor.
... ...
cscripts/cspull.py
... ... @@ -62,7 +62,7 @@ class cspull(ctools.cscript):
62 62 self._log_clients = False
63 63  
64 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 67 # Initialise application by calling the appropriate class
68 68 # constructor.
... ...
cscripts/csresmap.py
... ... @@ -74,7 +74,7 @@ class csresmap(ctools.cscript):
74 74 self._log_clients = False
75 75  
76 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 79 # Initialise application by calling the appropriate class
80 80 # constructor.
... ...
cscripts/csspec.py
... ... @@ -60,7 +60,7 @@ class csspec(ctools.cscript):
60 60 self._debug = False
61 61  
62 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 65 # Initialise application by calling the appropriate class
66 66 # constructor.
... ...