Commit 639c986c authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

BF: Typos, and wasn't generating metadata list

parent 6986da15
Variable Process
40001 binariseCategorical(acrossVisits=True, acrossInstances=True, metaproc=icd10.numdesc)
40002 binariseCategorical(acrossVisits=True, acrossInstances=True, metaproc=icd10.numdesc)
40006 binariseCategorical(acrossVisits=True, acrossInstances=True, metaproc=icd10.numdesc)
41201 binariseCategorical(acrossVisits=True, acrossInstances=True, metaproc=icd10.numdesc)
41202 binariseCategorical(acrossVisits=True, acrossInstances=True, metaproc=icd10.numdesc)
41204 binariseCategorical(acrossVisits=True, acrossInstances=True, metaproc=icd10.numdesc)
41270 binariseCategorical(acrossVisits=True, acrossInstances=True, metaproc=icd10.numdesc)
40001 binariseCategorical(acrossVisits=True, acrossInstances=True, metaproc='icd10.numdesc')
40002 binariseCategorical(acrossVisits=True, acrossInstances=True, metaproc='icd10.numdesc')
40006 binariseCategorical(acrossVisits=True, acrossInstances=True, metaproc='icd10.numdesc')
41201 binariseCategorical(acrossVisits=True, acrossInstances=True, metaproc='icd10.numdesc')
41202 binariseCategorical(acrossVisits=True, acrossInstances=True, metaproc='icd10.numdesc')
41204 binariseCategorical(acrossVisits=True, acrossInstances=True, metaproc='icd10.numdesc')
41270 binariseCategorical(acrossVisits=True, acrossInstances=True, metaproc='icd10.numdesc')
all_independent_except,40001,40002,40006,41202,41204,41270 removeIfSparse(minpres=51, maxcat=0.99, abscat=False)
40001 removeIfSparse(mincat=10)
40002 removeIfSparse(mincat=10)
......
......@@ -153,6 +153,7 @@ def runProcess(proc, dtable, vids):
if len(result) == 2:
add .extend(result[0])
addvids.extend(result[1])
addmeta.extend([None] * len(result[1]))
# columns to remove, and
# series/vids to add
......@@ -174,7 +175,7 @@ def runProcess(proc, dtable, vids):
else:
raise error
if len(add) > 0: dtable.addColumns(add, addvids, meta)
if len(add) > 0: dtable.addColumns(add, addvids, addmeta)
if len(remove) > 0: dtable.removeColumns(remove)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment