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

Support serializing WorkUnit to YAML string #391

Merged
merged 10 commits into from
Dec 14, 2023
Merged

Support serializing WorkUnit to YAML string #391

merged 10 commits into from
Dec 14, 2023

Conversation

jeremykubica
Copy link
Contributor

@jeremykubica jeremykubica commented Nov 6, 2023

Support converting WorkUnit to and from a serialized YAML string. This serialization is not super efficient, because we need to use numpy's .tolist() to work with YAML, which performs an extra copy.

This PR also re-organizes the WCS helper functions. It moves the wcs_utils.py file out of /analysis and adds some helper functions (for FITS headers or YAML encoding) there.

@jeremykubica jeremykubica requested review from wilsonbb and removed request for DinoBektesevic December 14, 2023 18:14
@jeremykubica jeremykubica merged commit 9444224 into main Dec 14, 2023
2 checks passed
@jeremykubica jeremykubica deleted the workunit branch December 14, 2023 19:28
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