martinjzhang / scDRS

Single-cell disease relevance score (scDRS)
https://martinjzhang.github.io/scDRS/
MIT License
98 stars 11 forks source link

scdrs CLI not working? #45

Closed Dzhan4 closed 1 year ago

Dzhan4 commented 1 year ago

Sorry if this is a silly question. I followed the instructions and installed scdrs v1.0.2:

git clone https://github.com/martinjzhang/scDRS.git
cd scDRS
git checkout -b v102 v1.0.2
pip install -e .

But when I go to the folder with the binary executable and type ./scdrs, it gives me this error:

  File "./scdrs", line 26
    h5ad_file: str,
             ^
SyntaxError: invalid syntax

I feel like I'm missing something obvious here, but I can't figure out what.

KangchengHou commented 1 year ago

Thanks for the question. python version seems to be the issue here. What python version are you using? We recommend using >=3.7

Dzhan4 commented 1 year ago

Thanks for the comment. Indeed I had two versions of python (one version 2 and the other version 3.9.6) loaded. I got the same error when I tried python scdrs but it worked when I tried python3 scdrs. Thanks!

KangchengHou commented 1 year ago

That's great and we will add a note in the installation page.