from __future__ import absolute_import
from casatasks.private.casa_transition import *
from . import flaghelper as fh
from .mstools import write_history
from .parallel.parallel_task_helper import ParallelTaskHelper
from .parallel.parallel_data_helper import ParallelDataHelper
from collections import OrderedDict
from casatasks import casalog
from casatools import ms, agentflagger, quanta, table
from taskinit import casalog, qa
from taskinit import mstool as ms
from taskinit import aftool as agentflagger
from taskinit import tbtool as table
from mstools import write_history
from parallel.parallel_task_helper import ParallelTaskHelper
from parallel.parallel_data_helper import ParallelDataHelper
from OrderedDictionary import OrderedDict
class FlagHelper(ParallelTaskHelper):
def __init__(self, args={}):
def setupInputFile(self, parname):
'''Create a temporary input file with
absolute pathnames for other input files
such as addantenna, timedev, freqdev.
The temporary input file will have the same
name with an extension .tmp'''