Skip to content

Commit

Permalink
Update test_utils: changed joblib
Browse files Browse the repository at this point in the history
sklearn.externals.joblib is removed in scikit-learn v0.23
  • Loading branch information
bojunliu0818 committed Apr 17, 2022
1 parent 3840a40 commit af38cb3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion msmbuilder/tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
import numpy as np
import sklearn.pipeline
from mdtraj.testing import eq
from sklearn.externals.joblib import dump as jl_dump
# sklearn.externals.joblib is removed in scikit-learn v0.23
try:
from joblib import dump as jl_dump
except ImportError:
from sklearn.externals.joblib import dump as jl_dump

from msmbuilder.decomposition import tICA
from msmbuilder.utils import Subsampler, dump, load
Expand Down

0 comments on commit af38cb3

Please sign in to comment.