You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately, I think this requires the file I'm using to reproduce (attached). I'm also not sure if the problem lies in yt or SpectralCube, since the yt object is created by the SpectralCubeto_yt() method.
Hi, and welcome to yt! Thanks for opening your first issue. We have an issue template that helps us to gather relevant information to help diagnosing and fixing the issue.
Bug report
Bug summary
When calling
sc.show()
on a scene composed of aSpectralCube
object with a non-square face, the call fails with anIndexError
.Code for reproduction
Unfortunately, I think this requires the file I'm using to reproduce (attached). I'm also not sure if the problem lies in
yt
orSpectralCube
, since theyt
object is created by theSpectralCube
to_yt()
method.FITS file
I failed to reproduce this with just a normal data volume with a non-square face:
Maybe I didn't try hard enough, or this kind of MWE doesn't exercise the failing code?
Actual outcome
Error message:
Expected outcome
yt
renders the cube, just as it does for cubes with square faces.Version Information
astropy
yt
is installed from source.The text was updated successfully, but these errors were encountered: