Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Profile Viewer doesn't update with subset #2244

Open
keflavich opened this issue Nov 6, 2021 · 0 comments
Open

Profile Viewer doesn't update with subset #2244

keflavich opened this issue Nov 6, 2021 · 0 comments
Labels

Comments

@keflavich
Copy link
Contributor

keflavich commented Nov 6, 2021

Describe the bug
Creating a profile viewer then selecting a subset in the 2D viewer does not make the subset appear in the profile viewer

To Reproduce

from glue.app.qt.application import GlueApplication
from glue.core import DataCollection

dc = DataCollection()
app = GlueApplication(dc)

from glue_astronomy.translators import spectral_cube

from glue.app.qt.application import GlueApplication

from spectral_cube.spectral_cube import SpectralCube, BaseSpectralCube

cube = SpectralCube.read('/orange/adamginsburg/ALMAIMF_Images/G327.29/B6/linecubes_12m/G327.29_B6_spw1_12M_sio.image.pbcor', format='casa_image')

dc['g327sio'] = cube

data = dc[0]

cube2 = data.get_object(cls=SpectralCube)

Expected behavior
Red spectrum should appear

Screenshots
image

Details:
see screenshot

Additional context
I tried to make this a MWE script but got stymied when I hit glue-viz/glue-astronomy#55. I was able to save the session here, sort of: #2245

@keflavich keflavich added the bug label Nov 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant