azizilab / starfysh

Spatial Transcriptomic Analysis using Reference-Free auxiliarY deep generative modeling and Shared Histology
BSD 3-Clause "New" or "Revised" License
105 stars 13 forks source link

fix: Multi-dimensional indexing error #29

Closed aadimator closed 7 months ago

aadimator commented 7 months ago

Fixes the following ValueError thrown in recent pandas versions: ValueError: Multi-dimensional indexing (e.g. obj[:, None]) is no longer supported. Convert to a numpy array before indexing instead.