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

Add new NIRISS AMI-related suffixes #1613

Merged

Conversation

bhilbert4
Copy link
Collaborator

This adds a few new NIRISS AMI-related filename suffixes to the list of recognized suffix values. These are new data products recently added to pipeline outputs.

@bhilbert4 bhilbert4 self-assigned this Jul 9, 2024
@pep8speaks
Copy link

pep8speaks commented Jul 9, 2024

Hello @bhilbert4, Thank you for updating !

Cheers ! There are no PEP8 issues in this Pull Request. 🍻

Comment last updated at 2024-07-09 15:01:34 UTC

@bhilbert4
Copy link
Collaborator Author

@mfixstsci this is ready to go.

Thinking a bit about the filename parser, do you think it's worth changing it such that when it finds a filename it can't parse, it returns None rather than raising an exception? That would prevent things like the preview image generator or the archive database update from stopping completely when there's one unrecognized file. @BradleySappington

Copy link
Collaborator

@mfixstsci mfixstsci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM @bhilbert4 thanks for the changes.

@mfixstsci mfixstsci merged commit f9f24b8 into spacetelescope:develop Jul 9, 2024
11 checks passed
@BradleySappington
Copy link
Collaborator

@bhilbert4 yeah, its probably worth doing that work, may want to notify us if there is an unrecognized file just so we can adjust?

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

Successfully merging this pull request may close these issues.

4 participants