Skip to content

Commit f451892

Browse files
committed
pkging fix
1 parent 0ddaefe commit f451892

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

scrapemed/paper.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
from PubMed Central without stressing about the details.
77
"""
88

9-
import pprint
109
import scrapemed._parse as parse
1110
import scrapemed.scrape as scrape
1211
from scrapemed._parse import TextSection

scrapemed/tests/test_scrape.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
import pytest
22
import scrapemed.scrape as scrape
33
from dotenv import load_dotenv
4+
from Bio import Entrez
45
import os
56
import lxml
67
load_dotenv()
78

89
def test_scrape():
910
EMAIL = os.getenv("PMC_EMAIL")
11+
Entrez.email = EMAIL
1012

1113
#test pmc scraping
1214
brain_surgery_articles = scrape.search_pmc(EMAIL, "brain[ti] AND surgery[ti]", retmax = 10, verbose = False)['IdList']

setup.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@
1616
'langchain',
1717
'uuid',
1818
'matplotlib',
19-
'wordcloud',
20-
'charset-normalizer>2',
21-
'charset-normalizer<2'
19+
'wordcloud'
2220
]
2321

2422
_INSTALL_REQUIRES = _SCRAPEMED_REQS

0 commit comments

Comments
 (0)