Skip to content

Catch warnings if no files are in the collection#583

Merged
mwcraig merged 1 commit intoastropy:masterfrom
MSeifert04:catch_warnings_no_files_in_collection
Oct 30, 2017
Merged

Catch warnings if no files are in the collection#583
mwcraig merged 1 commit intoastropy:masterfrom
MSeifert04:catch_warnings_no_files_in_collection

Conversation

@MSeifert04
Copy link
Copy Markdown
Contributor

It seems a bit odd that these are also emitted if one loads from an info-file but technically it's correct to emit them (and informational for the user) because the info-file doesn't populate the files attribute.

@MSeifert04 MSeifert04 added this to the 1.3 milestone Oct 26, 2017
@MSeifert04
Copy link
Copy Markdown
Contributor Author

@mwcraig @crawfordsm This should be straight-forward given that I just catch the warnings in the tests (and the CI passed). So if one of you wants to have a quick look over it (+merge if it looks alright) that would be great. :)

@mwcraig
Copy link
Copy Markdown
Member

mwcraig commented Oct 30, 2017

thanks!

@mwcraig mwcraig merged commit 8cbe0e5 into astropy:master Oct 30, 2017
@MSeifert04 MSeifert04 deleted the catch_warnings_no_files_in_collection branch October 30, 2017 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants