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 keyword to specify program IDs for preview image creation #1602

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

bhilbert4
Copy link
Collaborator

Add an optional "programs" keyword to generate_preview_images.py. This allows the user to specify a list of program ID numbers (e.g. 1068, 01220) to the call to generate_preview_images.py. If this keyword is given, the script will create preview images only for the specified programs. If no program keyword is given the script will create preview images for all programs, as it did previously.

With this new keyword, we can split up the creation of new preview images into multiple calls (on multiple machines), and speed up the creation of new preview images. Or, if we find we need to update the preview images for only a few, specific programs, this will allow us to do that.

@bhilbert4 bhilbert4 self-assigned this May 31, 2024
@bhilbert4
Copy link
Collaborator Author

This was inspired by #1592 where is seems like eventually we'll want to replace all preview images.

@bhilbert4
Copy link
Collaborator Author

@mfixstsci this is also ready for review. Local testing showed no problems.

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.

None yet

1 participant