BiomedicalMachineLearning / stLearn

A novel machine learning pipeline to analyse spatial transcriptomics data
Other
190 stars 25 forks source link

Fail to read Space Ranger output file with stlearn.Read10X. #220

Closed jingwyang closed 1 year ago

jingwyang commented 1 year ago

Hi there. I used stLearn package to read the output files of Space Ranger but failed with the error "TypeError: can't multiply sequence by non-int of type 'float'. I used the latest version of stLearn (0.4.11) and have no idea with this problem. Could you kindly give me some suggestion. Thanks! The input path as well as the error report are listed following

image image
duypham2108 commented 1 year ago

We fixed it in the github version and will publish it soon. Can you please uninstall the current version, clone this repo and install?

Here is the bash script you can use:

pip uninstall stlearn --yes
git clone https://github.com/BiomedicalMachineLearning/stLearn.git
cd stLearn
python setup.py install
jingwyang commented 1 year ago

Thanks very much. This works!