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

Ensure column order in ImageFileCollection matches the order of keywords in constructor #267

Merged
merged 4 commits into from
Dec 17, 2015

Conversation

mwcraig
Copy link
Member

@mwcraig mwcraig commented Dec 16, 2015

In addition, this clarifies the docstring a bit to explain how column order is determined.

The only case in which it is determined by the order of the keywords passed to the constructor is when the wildcard * is not used.

Otherwise the column order is the order in which the keywords appear in the first FITS file opened.

@mwcraig mwcraig added this to the 0.4 milestone Dec 16, 2015
@mwcraig
Copy link
Member Author

mwcraig commented Dec 17, 2015

Wow, think I made it worse...

@mwcraig
Copy link
Member Author

mwcraig commented Dec 17, 2015

Merging to kill this bug...

mwcraig added a commit that referenced this pull request Dec 17, 2015
Ensure column order in ImageFileCollection matches the order of keywords in constructor
@mwcraig mwcraig merged commit 3fb89c8 into astropy:master Dec 17, 2015
@mwcraig mwcraig deleted the fix-column-order branch December 20, 2015 18:53
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.

1 participant