charlesfrye / AppliedStatisticsForNeuroscience

Materials for UC Berkeley Neuroscience 299
52 stars 17 forks source link

Add a warnings filter to final versions #38

Closed charlesfrye closed 6 years ago

charlesfrye commented 6 years ago

Lots of deprecation and similar warnings that students don't need to see.

Can be fixed by adding

import warnings
warnings.simplefilter("ignore")

to the shared formatting code.

charlesfrye commented 6 years ago

Adding this only to specific labs, when the errors are uninteresting -- e.g. when statsmodels is imported