colomemaria / epiScanpy

Episcanpy: Epigenomics Single Cell Analysis in Python
BSD 3-Clause "New" or "Revised" License
138 stars 33 forks source link

episcanpy.tl.silhouette calls sklearn.metrics.silhouette_score with wrong arguments #121

Closed phobos314 closed 2 years ago

phobos314 commented 2 years ago

sklearn.metrics.silhouette_score takes two positional arguments and metric as an kwarg. episcanpy currently tries to pass metric as a positional argument, which fails.

DaneseAnna commented 2 years ago

Thank you for reporting the error. We just fixed the parameters and updated the master branch.

Best, Anna