Commits

Takeshi Nakazato authored 3913eefb527
CAS-13780 documentation fix (D204)

casatasks/src/private/sdutil.py

Modified
206 206
207 207 worker = sdtask_worker(**locals())
208 208 worker.initialize()
209 209 worker.execute()
210 210 worker.finalize()
211 211 del worker
212 212
213 213 Derived classes must implement the above three methods: initialize(),
214 214 execute(), and finalize().
215 215 """
216 +
216 217 __metaclass__ = abc.ABCMeta
217 218
218 219 def __init__(self, **kwargs):
219 220 for (k, v) in kwargs.items():
220 221 setattr(self, k, v)
221 222 # special treatment for selection parameters
222 223 select_params = ['scan', 'pol', 'beam']
223 224 for param in select_params:
224 225 if hasattr(self, param):
225 226 setattr(self, param + 'no', getattr(self, param))

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut