Disable numpy futurewarnings when running from CLI

develop
Chris Leaman 6 years ago
parent e3b782abbd
commit b8ead25cd5

@ -11,6 +11,9 @@ import analysis.forecast_twl as forecast_twl
import analysis.forecasted_storm_impacts as forecasted_storm_impacts import analysis.forecasted_storm_impacts as forecasted_storm_impacts
import analysis.observed_storm_impacts as observed_storm_impacts import analysis.observed_storm_impacts as observed_storm_impacts
# Disable numpy warnings
import warnings
warnings.simplefilter(action='ignore', category=FutureWarning)
@click.group() @click.group()
def cli(): def cli():

Loading…
Cancel
Save