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

DM-39712: Use introspection to read the correct MaskedImage stamp type #337

Merged
merged 3 commits into from Jun 22, 2023

Conversation

timj
Copy link
Member

@timj timj commented Jun 21, 2023

No description provided.

timj added 2 commits June 21, 2023 14:57
This allows guider files of type ImageI to be read in.
This does not solve the problem of ImageD stamps though.

The Stamps abstract class doesn't force MaskedImageF but
the main Stamps definition does.

If Guider files declared a different type of Stamps
class rather than the default then we could relax
this constraint on the reader.
The stamp_factory is associated with a Stamp class that has a
MaskedImage field. Use that field to work out the class that
the fits reader should be using and the associated data
type.
@timj timj merged commit aaef933 into main Jun 22, 2023
1 check passed
@timj timj deleted the tickets/DM-39712 branch June 22, 2023 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants