Skip to content

Commit

Permalink
Relaxation of scikit-learn version restrictions
Browse files Browse the repository at this point in the history
  • Loading branch information
Old-Shatterhand committed Mar 19, 2024
1 parent cbb5041 commit 71813d5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion datasail/cluster/clustering.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def additional_clustering(
)
else:
cluster_matrix = np.array(dataset.cluster_distance, dtype=float)
if sklearn.__version__ < '1.4':
if sklearn.__version__ < '1.2':
ca = AgglomerativeClustering(
n_clusters=n_clusters,
affinity="precomputed",
Expand Down
4 changes: 2 additions & 2 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package:
name: "datasail"
version: '0.3.0'
version: '1.0.0'

source:
path: ..
Expand All @@ -25,7 +25,7 @@ requirements:
- pytest
- setuptools
- pyscipopt<4.0.0
- scikit-learn>=1.2,<1.6
- scikit-learn
- foldseek
- mmseqs2
- cd-hit
Expand Down
6 changes: 3 additions & 3 deletions recipe_lite/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package:
name: "datasail-lite"
version: '0.3.0'
version: '1.0.0'

source:
path: ..
Expand All @@ -17,15 +17,15 @@ requirements:
- setuptools_scm
- pip
run:
- python
- python>=3.8
- numpy
- pandas
- networkx
- matplotlib
- pytest
- setuptools
- pyscipopt<4.0.0
- scikit-learn>=1.2,<1.6
- scikit-learn
- cvxpy
- pytest-cov
- rdkit>=2022.09.1
Expand Down

0 comments on commit 71813d5

Please sign in to comment.