Starlitnightly / omicverse

A python library for multi omics included bulk, single cell and spatial RNA-seq analysis.
https://starlitnightly.github.io/omicverse/
GNU General Public License v3.0
277 stars 32 forks source link

scikit-learn module conflicts #44

Closed lisch7 closed 6 months ago

lisch7 commented 6 months ago

Hi,

Recently, I followed the instructions to apply trajectory Inference (https://omicverse.readthedocs.io/en/latest/Tutorials-single/t_traj/). But I found out omicverse and scVelo require different versions of scikit-learn. OV required scikit-learn>=1.2 (https://github.com/Starlitnightly/omicverse/blob/master/pyproject.toml) but scVelo required scikit-learn>=0.21.2, <1.2.0 (https://github.com/theislab/scvelo/blob/main/pyproject.toml) . I wonder whether it will influence the analysis of the pipline.

Thanks for your kind help!

Starlitnightly commented 6 months ago

Hi,

In my environment, I have a version of scikit-learn installed that is greater than 1.2, and at the same time I don't have any problems with scVelo. I hope this helps for you.

Sincerely, Zehua