Skip to content

Commit

Permalink
make .any() call compatible with newer pandas versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ammarcsj committed Jul 19, 2024
1 parent ea2cceb commit 936da01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alphamap/preprocessing.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def get_peptide_position(df: pd.DataFrame, fasta: fasta, verbose:bool = True):
verbose=verbose),
axis=1, result_type='expand')

res_na = res[res.isnull().any(1)]
res_na = res[res.isnull().any(axis = 1)]
prots_na = res_na.unique_protein_id.unique()

res = res.dropna()
Expand Down

0 comments on commit 936da01

Please sign in to comment.