Example #1
0
 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
Example #2
0
 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
Example #3
0
 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