almaan / stereoscope

Spatial mapping of cell types by integration of transcriptomics data
MIT License
87 stars 24 forks source link

Bugfix in Utils #6

Closed nik1sto closed 4 years ago

nik1sto commented 4 years ago

Hi Alma,

I encountered following error

stereoscope/lib/python3.8/site-packages/STereoSCope-0.2-py3.8.egg/stsc/utils.py", line 67, in index = index.append(pd.Index([str(k) + '&-' + x for \ TypeError: can only concatenate str (not "int") to str

and fixed it for myself so far by typecasting the x.

Best regards, Nik

almaan commented 4 years ago

Hello Nik,

Thanks a lot for reporting this, it's very appreciated!

An update to the code has been pushed - where x is now cast as a string. Hopefully you should not get any errors now.

Best Alma

nik1sto commented 4 years ago

Thank you!