Skip to content

Make all warnings suppressible#14

Merged
AlexEMG merged 2 commits intoDeepLabCut:masterfrom
Alyetama:patch-1
Sep 23, 2020
Merged

Make all warnings suppressible#14
AlexEMG merged 2 commits intoDeepLabCut:masterfrom
Alyetama:patch-1

Conversation

@Alyetama
Copy link
Copy Markdown
Contributor

@Alyetama Alyetama commented Sep 23, 2020

@FedeClaudi Thank you for the great program!

I noticed that in line 141 you used print() which forces the program to print the warning statement every time it runs, unlike something like warnings.warn(). I updated this so that one can silence all warning messages when they need to (e.g., warnings.filterwarnings("ignore")).

@AlexEMG AlexEMG merged commit e8948d3 into DeepLabCut:master Sep 23, 2020
@Alyetama Alyetama deleted the patch-1 branch September 23, 2020 18:15
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.

2 participants