Skip to content

Commit

Permalink
fix typo in unpast_DE.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ozolotareva committed Sep 9, 2024
1 parent b2ae0c3 commit b2f4022
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/unpast_DE.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,5 +250,5 @@ def run_de_for_unpast(
cols = ["n_genes","genes","n_genes_DE","genes_DE","genes_up_DE","genes_down_DE"]
de_df = new_unpast_df.loc[:,cols]
cols = ["genes","genes_DE","genes_up_DE","genes_down_DE"]
de_df.loc[:,cols] = de.loc[:,cols].fillna("").applymap(lambda row: set(row.split(" ")))
de_df.loc[:,cols] = de_df.loc[:,cols].fillna("").applymap(lambda row: set(row.split(" ")))
return de_df

0 comments on commit b2f4022

Please sign in to comment.