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

Suppress astropy warnings #318

Merged
merged 5 commits into from
Sep 7, 2020
Merged

Conversation

ajstewart
Copy link
Contributor

Suppresses the Astropy warnings.

Fixes #279.

@ajstewart ajstewart added the enhancement New feature or request label Sep 4, 2020
@github-actions github-actions bot added this to In progress in Pipeline Backlog Sep 4, 2020
@ajstewart ajstewart changed the title Supress astropy warnings Suppress astropy warnings Sep 4, 2020
Copy link
Contributor

@srggrs srggrs left a comment

Choose a reason for hiding this comment

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

Are you sure you need that in all of the 3 files? the code call the forced phot and new sources functions from the process_pipeline method.

Also would be good if you could customize this as a settings in the run config file. But maybe is not worth the effort for the time being...

@ajstewart
Copy link
Contributor Author

Yes sorry this was a lazy implementation I'll change it.

The thought of making it an option crossed my mind as well, should it be tied to debug mode do you think or have it's own option?

@ajstewart
Copy link
Contributor Author

I've moved it to one place and added a user config option.

Pipeline Backlog automation moved this from In progress to Reviewer approved Sep 6, 2020
@ajstewart ajstewart merged commit 298f189 into master Sep 7, 2020
Pipeline Backlog automation moved this from Reviewer approved to Done Sep 7, 2020
@ajstewart ajstewart deleted the issue-279-supress-astropy-warnings branch September 7, 2020 00:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

Successfully merging this pull request may close these issues.

Disable annoying Astropy warnings
2 participants