Skip to content

Commit

Permalink
fix depreciation warning for hdbscan dependencies
Browse files Browse the repository at this point in the history
- also fix pyproj error by installing from pip instead
of conda ([see](pyproj4/pyproj#134)
  • Loading branch information
Sieboldianus committed Feb 11, 2019
1 parent 008122e commit 981168a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
5 changes: 2 additions & 3 deletions environment.yml
Expand Up @@ -15,16 +15,15 @@ dependencies:
- pandas=0.24.1
- proj4=5.2.0
- python=3.6.6
- scikit-learn=0.20.0
- scikit-learn>=0.20.1
- scipy=1.1.0
- seaborn=0.9.0
- shapely=1.6.4
- pyproj
- regex=2019.02.07
- pip:
- attr==0.3.1
- cython==0.29.5
- emoji==0.5.1
- pylint

- pyproj

8 changes: 1 addition & 7 deletions tagmaps/classes/cluster.py
Expand Up @@ -23,13 +23,7 @@
AnalysisBounds, CleanedPost,
ClusterType, PreparedStats)
from tagmaps.classes.utils import Utils

with warnings.catch_warnings():
# disable:
# parallel.py:268: DeprecationWarning:
# check_pickle is deprecated in joblib 0.12
warnings.filterwarnings("ignore", category=DeprecationWarning)
import hdbscan
import hdbscan

pool = ThreadPool(processes=1)
sns.set_context('poster')
Expand Down

0 comments on commit 981168a

Please sign in to comment.