Skip to content

Commit 03137b3

Browse files
committed
fix numexpr problem with Pandas series vs. numpy arrays
1 parent ea11ded commit 03137b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kipoiseq/extractors/gtf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def _filter_biotype_proteincoding(gtf_df):
6161

6262
def _filter_tag(gtf_df, regex_contains):
6363
return gtf_df.query(
64-
"tag.notnull() & tag.str.contains('{}')".format(regex_contains)
64+
"tag.notnull().values & tag.str.contains('{}').values".format(regex_contains)
6565
)
6666

6767

0 commit comments

Comments
 (0)