def _load(self, arg, cnttbl): rules = Rules(*self.rules) tbl = EvalTable(rules).load(arg) counts = [tbl.field(rc).sum() for rc in self.rc_labels()] cnttbl += counts
def loadfile(self,filename,cnttbl): rules = Rules(*self.rules) tbl = EvalTable(rules).fromfile(filename) counts = [tbl.field(rc).sum() for rc in self.rc_labels()] cnttbl += counts
def _load(self,arg,cnttbl): rules = Rules(*self.rules) tbl = EvalTable(rules).load(arg) counts = [tbl.field(rc).sum() for rc in self.rc_labels()] cnttbl += counts