-
Notifications
You must be signed in to change notification settings - Fork 74
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
Imviz: Unable to reload same file multiple times #689
Comments
This came up during Roman Hack Day too when someone was trying to reload the same object into existing Imviz but unable to do so. |
This now works loading the same image a second time, but complains at the third time when adding the image to the viewer.
|
#1649 removes the traceback, but is still giving unexpected behavior:
this loads the data entry with the default loading the same data file again creates a new data entry with
calling a third time, the user would reasonably expect a new data entry with
|
Re: #689 (comment) This was because of some "0th order" fix for #600 (#680) that is not ideal. I added a commit to #1649 to address this. Though I think that is the opposite of what people actually want (they want to reload rather than create even more data) but at least it is more consistent now. True reloading already has its own ticket. Also see https://github.com/spacetelescope/jdaviz/pull/680/files#r652051761 |
Reporter: pllim
Workflow:
imviz.load_data("myfile.fits")
The screenshot below was from testing #680 but the bug existed even before that PR.
🐱
DISCLAIMER: This issue was autocreated by the Jdaviz Issue Creation Bot on behalf of the reporter. If any information is incorrect, please contact Duy Nguyen
The text was updated successfully, but these errors were encountered: