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

Field identifying inputs/ouput types to prevent operations on rgb stack ( and perhaps future ) output images #143

Open
LTDakin opened this issue Jan 27, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@LTDakin
Copy link
Contributor

LTDakin commented Jan 27, 2025

Problem:
Currently there's nothing in the UI stopping you from trying to do a median on a rgb stack output. Only issue is that RGB outputs are 3d fits files with channels for Red, green, and Blue. Median's and other operations should be blocked from using colored images as input.

Discussion:
We need to add some identifier/tag/metadata to RGB outputs that we can filter for when displaying operation input options. So this isn't a one off fix, we should consider other cases where we might need to tag images (input or output) and coming up with a way of implementing/naming this extra field. Or at least implement it in a way that can be reused.

Solutions:

  • broad: field "type" with string value on datalab inputs/outputs
  • minimal: field "color" with boolean value
@LTDakin LTDakin added the bug Something isn't working label Jan 27, 2025
@LTDakin LTDakin self-assigned this Jan 27, 2025
@LTDakin LTDakin added enhancement New feature or request and removed bug Something isn't working labels Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant