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

Fix to read in files faster #218

Merged

Conversation

kglidic
Copy link
Collaborator

@kglidic kglidic commented Sep 25, 2024

When building a database with MIRI files, this step can be quite time-consuming. The code reads the data in by default even when the NINTS keyword is populated in the header. I added an if/else condition to handle this more efficiently.

@AarynnCarter
Copy link
Collaborator

Hey @kglidic

This looks good but there a CI error relating to pulling a file from CRDS. Could you take a look? I'm not sure why it's suddenly changed but could be an issue with a package updating / might mean the requirements needs updating.

@kglidic
Copy link
Collaborator Author

kglidic commented Oct 2, 2024

Hey @AarynnCarter, I just re-ran the check and it seemed to fix the issue

@AarynnCarter AarynnCarter merged commit bac0445 into spacetelescope:develop Oct 4, 2024
2 checks passed
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.

2 participants