Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
mathause committed Jul 1, 2022
1 parent 29ad0fd commit d293487
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions mesmer/calibrate_mesmer/train_gv.py
Expand Up @@ -13,7 +13,6 @@
import numpy as np
import statsmodels.api as sm
import xarray as xr

from packaging.version import Version

from mesmer.core.auto_regression import _fit_auto_regression_xr, _select_ar_order_xr
Expand Down Expand Up @@ -168,10 +167,10 @@ def train_gv_AR(params_gv, gv, max_lag, sel_crit):
params_gv["sel_crit"] = sel_crit

if Version(xr.__version__) >= Version("2022.03.0"):
method = "method"
else:
method = "interpolation"
method = "method"
else:
method = "interpolation"

# select the AR Order
AR_order_scen = list()
for scen in gv.keys():
Expand Down

0 comments on commit d293487

Please sign in to comment.