Skip to content

Commit

Permalink
resolves #250 (#251)
Browse files Browse the repository at this point in the history
* scipy==1.2.1 else breaks

* new gensim breaks windows! Force 3.4.0
  • Loading branch information
thanasions authored May 1, 2019
1 parent 3f4b10c commit ce921da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions scripts/documents_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ def __filter_cpc(df, cpc):
total=df.shape[0]):
cpc_list = row['classifications_cpc']
for cpc_item in cpc_list:
if not isinstance(cpc_list, list):
continue
if cpc_item.startswith(cpc):
cpc_index_list.append(index)
break
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ def setup_package():
'Programming Language :: Python :: 3.6',
],

install_requires=['matplotlib', 'numpy', 'scipy>=1.2.1', 'wordcloud', 'pandas', 'tqdm', 'nltk', 'scikit-learn',
'xlrd','python-Levenshtein', 'gensim', 'statsmodels', 'keras', 'tensorflow', 'keras_tqdm',
install_requires=['matplotlib', 'numpy', 'scipy==1.2.1', 'wordcloud', 'pandas', 'tqdm', 'nltk', 'scikit-learn',
'xlrd','python-Levenshtein', 'gensim==3.4.0', 'statsmodels', 'keras', 'tensorflow', 'keras_tqdm',
'patsy', 'humanfriendly', 'psutil', 'jinja2'],
# extras_require={'dev': ['check-manifest'],'test': ['coverage'],},
python_requires='>=3.6',
Expand Down

0 comments on commit ce921da

Please sign in to comment.