diff --git a/pydeseq2/dds.py b/pydeseq2/dds.py index c55d68f2..7862876e 100644 --- a/pydeseq2/dds.py +++ b/pydeseq2/dds.py @@ -215,7 +215,10 @@ def __init__( self.design_factors = ( [design_factors] if isinstance(design_factors, str) else design_factors ) - self.continuous_factors = continuous_factors + # self.continuous_factors = continuous_factors + self.continuous_factors = ( + [continuous_factors] if isinstance(continuous_factors, str) else continuous_factors + ) if self.obs[self.design_factors].isna().any().any(): raise ValueError("NaNs are not allowed in the design factors.")