Source code for pipeline.hif.cli.private.task_hif_setmodel

import sys

from casatasks import casalog

import pipeline.h.cli.utils as utils


[docs]def hif_setmodel(pipelinemode=None, scalebychan=None, applyresults=None, dryrun=None): raise Exception('The CASA interface for hif_setmodel needs to be updated to match the task inputs') ########################################################################## # # # CASA task interface boilerplate code starts here. No edits should be # # needed beyond this point. # # # ########################################################################## # create a dictionary containing all the arguments given in the # constructor all_inputs = vars() # get the name of this function for the weblog, eg. 'hif_flagdata' task_name = sys._getframe().f_code.co_name # get the context on which this task operates context = utils.get_context() # execute the task results = utils.execute_task(context, task_name, all_inputs) return results