ayshwaryas / ddqc

Biology-centered data-driven quality control for scRNA-seq
BSD 3-Clause "New" or "Revised" License
15 stars 2 forks source link

TypeError: highly_variable_features() got an unexpected keyword argument 'consider_batch' #2

Closed hl-xue closed 1 year ago

hl-xue commented 1 year ago

Hello,

For information, I encountered an error while doing ddqc.ddqc_metrics. The error says: "TypeError: highly_variable_features() got an unexpected keyword argument 'consider_batch'".

By searching the pegasus doc, I found this keyword consider_batch has been replaced since version 1.4.5.

hl-xue commented 1 year ago

And by downgrading with pip install pegasuspy==1.3, the error occurs at the import stage:

import pegasus as pg
import ddqc

gives:

LoweringError: Failed in nopython mode pipeline (step: native lowering)
Invalid store of i64 to i32 in <numba.core.datamodel.models.RangeModel object at 0x1472268a02e0> (trying to write member #1)