Commit 5b43dc033879d246813ecf8e91c4a039bbb30728

Authored by Jürgen Knödlseder
1 parent 61aa79a5

Remove obsolete comlixfit._get_obs_header() method

Showing 1 changed file with 0 additions and 19 deletions
modules/comscripts/comlixfit.py
... ... @@ -152,25 +152,6 @@ class comlixfit(ctools.cslikelihood):
152 152 # Return
153 153 return
154 154  
155   - def _get_obs_header(self, obs):
156   - """
157   - Get observation header
158   - """
159   - # Set header
160   - header = obs.instrument() + ' observation'
161   -
162   - # If observation name is not empty then add name
163   - if obs.name() is not '':
164   - header += ' \"' + obs.name() + '\"'
165   -
166   - # If observation ID is not empty then add ID
167   - if obs.id() is not '':
168   - header += ' (id=' + obs.id() + ')'
169   -
170   - # Return header
171   - return header
172   -
173   -
174 155 # Public methods
175 156 def run(self):
176 157 """
... ...