Skip to content

Commit

Permalink
Merge pull request #1091 from haddocking/np2-upgrade
Browse files Browse the repository at this point in the history
numpy upgrade
  • Loading branch information
mgiulini authored Oct 11, 2024
2 parents a9f9c13 + bbd345f commit 2ec9a8b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ dependencies = [
'pdb-tools>=2.5.0',
'biopython==1.*',
'jsonpickle>=2.1.0',
'numpy==1.*',
'numpy==2.*',
'pyyaml>=6.0',
'scipy>=1.10.0',
'toml>=0.10.2',
Expand Down
2 changes: 1 addition & 1 deletion src/haddock/libs/libinteractive.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def handle_ss_file(
"""
# now we want to calculate mean and std dev of the scores on df_ss
# first sort the dataframe by score
df_ss.sort_values(by=["score"], inplace=True)
df_ss.sort_values(by=["score", "caprieval_rank"], inplace=True)
# groupby cluster_id
df_ss_grouped = df_ss.groupby("cluster_id")
# calculate the mean and standard deviation of the first 4 elements
Expand Down

0 comments on commit 2ec9a8b

Please sign in to comment.