ComputAge icon indicating copy to clipboard operation
ComputAge copied to clipboard

Problem with age range

Open shappiron opened this issue 1 year ago • 0 comments

Changing the range of ages leads to the following problem:

TypeError Traceback (most recent call last) in <cell line: 15>() 13 verbose=1 14 ) ---> 15 bench.run()

/usr/local/lib/python3.10/dist-packages/computage/benchmarking/benchmarking.py in run(self) 240 meta_ = meta.copy() 241 if test == 'AA2': --> 242 pvals, deltas = self.AA2_test(pred, meta_, gse, cond) 243 if pvals is None: 244 continue

TypeError: cannot unpack non-iterable NoneType object

Probably, some datasets become empty after such age filtering.

shappiron avatar Oct 14 '24 08:10 shappiron