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-15776: Reimplement FitsStorage support for reading headers directly. #100

Merged
merged 1 commit into from Sep 17, 2018

Conversation

TallJimbo
Copy link
Member

No description provided.

Copy link
Contributor

@RobertLuptonTheGood RobertLuptonTheGood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine, although it's a pity that you have to add the extra logical supportsOptions rather than passing options to reader; actually you could do that with a trampoline.

@TallJimbo
Copy link
Member Author

TallJimbo commented Sep 17, 2018

Yeah, I think that would require (at least) moving the test for what kind of reader to use inside the loop over locations so we could capture the concrete options in a closure (at least I think that's what you had in mind). While that loop is only ever going to have one iteration, that was enough to make that option seem to me to be not obviously better than what I have there now.

@TallJimbo TallJimbo merged commit b82715d into master Sep 17, 2018
@TallJimbo TallJimbo deleted the tickets/DM-15776 branch September 17, 2018 22:22
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

2 participants