Skip to content

support enum in fitsable#71

Merged
Jammy2211 merged 3 commits intomainfrom
feature/fits_fix
Apr 2, 2025
Merged

support enum in fitsable#71
Jammy2211 merged 3 commits intomainfrom
feature/fits_fix

Conversation

@Jammy2211
Copy link
Copy Markdown
Collaborator

This pull request includes a small change to the autoconf/fitsable.py file. The change adds error handling when appending to the header list in the hdu_list_for_output_from function to account for the header_dict using enums instead of just a dictionary.

Error handling improvement:

  • autoconf/fitsable.py: Added a try-except block to handle ValueError exceptions when appending to the header list, ensuring compatibility with enum types used in header_dict.

@Jammy2211 Jammy2211 requested a review from rhayes777 April 2, 2025 14:20
@Jammy2211 Jammy2211 merged commit 2b724e3 into main Apr 2, 2025
8 checks passed
@Jammy2211 Jammy2211 deleted the feature/fits_fix branch April 30, 2025 18:11
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