Source code for pipeline.hif.tasks.correctedampflag.resultobjects

import copy

import pipeline.infrastructure as infrastructure
import pipeline.infrastructure.basetask as basetask

LOG = infrastructure.get_logger(__name__)


[docs]class CorrectedampflagResults(basetask.Results): def __init__(self): super(CorrectedampflagResults, self).__init__() self.flagging = []
[docs] def merge_with_context(self, context): pass
def __repr__(self): s = 'CorrectedampflagResults' return s
[docs] def addflags(self, flags): self.flagging += flags
[docs] def flagcmds(self): return copy.deepcopy(self.flagging)