diff --git a/setup.cfg b/setup.cfg index ed77ab0..467bc22 100644 --- a/setup.cfg +++ b/setup.cfg @@ -50,7 +50,7 @@ python_requires = >=3.8 install_requires = importlib-metadata; python_version<"3.8" biocframe>=0.5.11 - iranges[optional]>=0.2.10 + iranges[optional]>=0.2.11 biocutils>=0.1.3 numpy diff --git a/src/genomicranges/GenomicRanges.py b/src/genomicranges/GenomicRanges.py index 7d3f5f5..3f5a15f 100644 --- a/src/genomicranges/GenomicRanges.py +++ b/src/genomicranges/GenomicRanges.py @@ -1191,7 +1191,7 @@ def from_polars(cls, input: "polars.DataFrame") -> "GenomicRanges": # mcols drops.extend(["starts", "seqnames"]) - mcols_df = input.drop(columns=drops) + mcols_df = input.drop(drops) mcols = None if (not mcols_df.is_empty()) or len(mcols_df.columns) > 0: