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

Allow comments in FITS images #6973

Merged
merged 1 commit into from Feb 25, 2023
Merged

Allow comments in FITS images #6973

merged 1 commit into from Feb 25, 2023

Conversation

radarhere
Copy link
Member

Resolves #6972

https://fits.gsfc.nasa.gov/fits_primer.html states that

Each header unit contains a sequence of fixed-length 80-character keyword records which have the general form:

KEYNAME = value / comment string

This PR removes the comment string when determining the value.

@hugovk hugovk merged commit 7d91efd into python-pillow:main Feb 25, 2023
@radarhere radarhere deleted the fits branch February 25, 2023 07:44
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.

Cannot identify .fits file
2 participants