Skip to content

Commit 33cd947

Browse files
author
niklasmueboe
committed
simplify pattern for control probes
1 parent 6a2ac30 commit 33cd947

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ovrlpy/io.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def _filter_genes(df: pl.DataFrame, remove_features: Collection[str]) -> pl.Data
1111
df = (
1212
df.lazy()
1313
.with_columns(pl.col("gene").cast(pl.String))
14-
.filter(~pl.col("gene").str.contains(f"({remove_pattern})"))
14+
.filter(~pl.col("gene").str.contains(remove_pattern))
1515
.with_columns(pl.col("gene").cast(pl.Categorical))
1616
.collect()
1717
)

0 commit comments

Comments
 (0)