Skip to content

Commit

Permalink
Minor bug fix with original ECFP clustering
Browse files Browse the repository at this point in the history
  • Loading branch information
Old-Shatterhand committed Mar 20, 2024
1 parent d8b5cee commit 7edf382
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion datasail/cluster/ecfp.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from datasail.settings import LOGGER


def run_ecfp(dataset: DataSet, method: SIM_OPTIONS = "Tanimoto") -> None:
def run_ecfp(dataset: DataSet, method: SIM_OPTIONS = "tanimoto") -> None:
"""
Compute 1024Bit-ECPFs for every molecule in the dataset and then compute pairwise Tanimoto-Scores of them.
Expand Down
2 changes: 1 addition & 1 deletion tests/test_clustering.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ def test_mmseqspp_protein():
"allbit", "asymmetric", "braunblanquet", "cosine", "dice", "kulczynski", "mcconnaughey", "onbit", "rogotgoldberg",
"russel", "sokal",
"canberra", "chebyshev", "cityblock", "euclidean", "hamming", "jaccard",
"mahalanobis", "manhattan", "matching", "minkowski", "seuclidean", "sqeuclidean", "tanimoto"
"mahalanobis", "manhattan", "matching", "minkowski", "sqeuclidean", "tanimoto"
])
def test_vector(algo, in_type, method, md_calculator):
data = molecule_data()
Expand Down

0 comments on commit 7edf382

Please sign in to comment.