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

Extract slice does not work #2418

Closed
astrohector opened this issue Jun 12, 2023 · 9 comments
Closed

Extract slice does not work #2418

astrohector opened this issue Jun 12, 2023 · 9 comments
Labels

Comments

@astrohector
Copy link

Describe the bug
I am trying to extract a slice from an astronomical data cube using the slice tool to create a position-velocity diagram.
I am able to draw the path on the image. However, when I press return it does not extract the slice and it does not display it in a new widow (as it is shown in the demo).

To Reproduce

  1. Import data cube
  2. Click and Drag cube to Tab and display as 2D image
  3. Click on slice tool on upper right corner of 2D image window
  4. Create path
  5. press Return when done
  6. notice that nothing comes up

Expected behavior
As shown in demo: http://docs.glueviz.org/en/latest/gui_guide/slice.html

Details:
I see this behavior in two different versions of glue I have:
Version 1:

  • Operating System: MacOS 13.2
  • Glue version: stand-alone 2023.02.0
  • How you installed glue: stand-alone with Mac installer

Version 2:

  • Operating System: MacOS 10.15.7
  • Glue version: 1.0.0
  • How you installed glue: using anaconda navigator
@jfoster17
Copy link
Member

Hey Héctor -- thanks for the bug report. In the very top-right of the glue window there is an "Error Console" button (depending on your screen size, it might be tucked away in a fold-down menu). Is there any error message shown when you click that?

Alternatively, in the version where you launch glue from the command line (version 2?) if you launch glue with the -v flag (glue -v) can you copy the full output of that after you try to extract a PV slice?

@astrohector
Copy link
Author

astrohector commented Jun 13, 2023 via email

@jfoster17
Copy link
Member

(No need to e-mail the bug report, this is fine.)

It happens that both your versions of glue are missing the pvextractor module. For the stand-alone application you would need to download the latest Nightly Build (http://docs.glueviz.org/en/stable/installation/standalone.html#nightly-builds).

I'm not too familiar with the Anaconda navigator but you should be able to do something like

conda update glueviz

which hopefully will upgrade you to at least v1.2, still an old version but one that should fix your specific problem.

@astrohector
Copy link
Author

astrohector commented Jun 13, 2023 via email

@jfoster17
Copy link
Member

Yes, I see. Okay, we need to fix this in the standalones. For now, trying to upgrade your version through conda is probably quickest.

@astrohector
Copy link
Author

astrohector commented Jun 15, 2023 via email

@jfoster17
Copy link
Member

Sorry this took a while. Can you try the new standalone version here:

http://glueviz.s3.amazonaws.com/installers/2023.06.3/glue%202023.06.3.dmg

This should fix the problem for real.

@astrohector
Copy link
Author

astrohector commented Jun 25, 2023 via email

@jfoster17
Copy link
Member

Great to hear that it works at last, and thanks for uncovering this bug for us.

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

2 participants