JonathanShor / DoubletDetection

Doublet detection in single-cell RNA-seq data.
https://doubletdetection.readthedocs.io/en/stable/
MIT License
81 stars 23 forks source link

A bug? Random seed 0 will never be set. #154

Open Christina-hshi opened 2 years ago

Christina-hshi commented 2 years ago

https://github.com/JonathanShor/DoubletDetection/blob/420387a013a11e511d3f8d7516d23d775fb5fff7/doubletdetection/doubletdetection.py#L118

This statement will fail with random_state being 0, which is the default value. That means that random_state 0 will never be set.