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

[FEAT] Imviz: Ability to remove or replace data sets #1420

Open
hcferguson opened this issue Jun 27, 2022 · 3 comments
Open

[FEAT] Imviz: Ability to remove or replace data sets #1420

hcferguson opened this issue Jun 27, 2022 · 3 comments
Labels
feature Feature request imviz

Comments

@hcferguson
Copy link

hcferguson commented Jun 27, 2022

Description

It would be nice to have an easy way remove (or replace) a data set. Ideally,

Additional context

It was unclear to me from the documentation (and introspecting Imviz and Imviz.app) how to remove (or replace) a data set.

From Slack conversation @kecnry:

we didn’t expose this for data entries because of concerns with removing the reference data. In theory, we could loosen this restriction a bit to allow removing all but the last entry or something like that. There also isn’t a user-friendly exposed API, but you there are still ways to do it using deeper methods (imviz.app.data_collection.remove(imviz.app.data_collection[label]) or imviz.app.vue_data_item_remove({'item_name': label})).

In my normal workflow, I'm doing a lot of trial and error, so being able to remove or replace images from the collection would help to avoid it getting too confusing.

🐱 🐱

@stscijgbot-jwql
Copy link

This issue is tracked on JIRA as JDAT-2541.

@stscijgbot-jwql
Copy link

Comment by Kyle Conroy on JIRA:

Note that this applies across all configs (except maybe mosviz) - see https://stsci.slack.com/archives/C232KCAFR/p1680028666129639].  The complication is how to handle “reference data” in glue, especially if there are outputs from plugins that have been added since. 

@stscijgbot-jwql
Copy link

Comment by Camilla Pacifici on JIRA:

superseded by https://jira.stsci.edu/browse/JDAT-3263

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Feature request imviz
Projects
None yet
Development

No branches or pull requests

2 participants