wbtools 3.7.0__tar.gz → 3.7.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {wbtools-3.7.0/wbtools.egg-info → wbtools-3.7.1}/PKG-INFO +1 -1
- {wbtools-3.7.0 → wbtools-3.7.1}/pyproject.toml +1 -1
- {wbtools-3.7.0 → wbtools-3.7.1}/wbtools/literature/paper.py +3 -0
- {wbtools-3.7.0 → wbtools-3.7.1/wbtools.egg-info}/PKG-INFO +1 -1
- {wbtools-3.7.0 → wbtools-3.7.1}/LICENSE +0 -0
- {wbtools-3.7.0 → wbtools-3.7.1}/README.md +0 -0
- {wbtools-3.7.0 → wbtools-3.7.1}/setup.cfg +0 -0
- {wbtools-3.7.0 → wbtools-3.7.1}/wbtools/__init__.py +0 -0
- {wbtools-3.7.0 → wbtools-3.7.1}/wbtools/db/__init__.py +0 -0
- {wbtools-3.7.0 → wbtools-3.7.1}/wbtools/db/abstract_manager.py +0 -0
- {wbtools-3.7.0 → wbtools-3.7.1}/wbtools/db/afp.py +0 -0
- {wbtools-3.7.0 → wbtools-3.7.1}/wbtools/db/antibody.py +0 -0
- {wbtools-3.7.0 → wbtools-3.7.1}/wbtools/db/dbmanager.py +0 -0
- {wbtools-3.7.0 → wbtools-3.7.1}/wbtools/db/expression.py +0 -0
- {wbtools-3.7.0 → wbtools-3.7.1}/wbtools/db/gene.py +0 -0
- {wbtools-3.7.0 → wbtools-3.7.1}/wbtools/db/generic.py +0 -0
- {wbtools-3.7.0 → wbtools-3.7.1}/wbtools/db/paper.py +0 -0
- {wbtools-3.7.0 → wbtools-3.7.1}/wbtools/db/person.py +0 -0
- {wbtools-3.7.0 → wbtools-3.7.1}/wbtools/lib/__init__.py +0 -0
- {wbtools-3.7.0 → wbtools-3.7.1}/wbtools/lib/email/__init__.py +0 -0
- {wbtools-3.7.0 → wbtools-3.7.1}/wbtools/lib/email/generic.py +0 -0
- {wbtools-3.7.0 → wbtools-3.7.1}/wbtools/lib/nlp/__init__.py +0 -0
- {wbtools-3.7.0 → wbtools-3.7.1}/wbtools/lib/nlp/common.py +0 -0
- {wbtools-3.7.0 → wbtools-3.7.1}/wbtools/lib/nlp/entity_extraction/__init__.py +0 -0
- {wbtools-3.7.0 → wbtools-3.7.1}/wbtools/lib/nlp/entity_extraction/email_addresses.py +0 -0
- {wbtools-3.7.0 → wbtools-3.7.1}/wbtools/lib/nlp/entity_extraction/ntt_extractor.py +0 -0
- {wbtools-3.7.0 → wbtools-3.7.1}/wbtools/lib/nlp/entity_extraction/variations.py +0 -0
- {wbtools-3.7.0 → wbtools-3.7.1}/wbtools/lib/nlp/literature_index/__init__.py +0 -0
- {wbtools-3.7.0 → wbtools-3.7.1}/wbtools/lib/nlp/literature_index/abstract_index.py +0 -0
- {wbtools-3.7.0 → wbtools-3.7.1}/wbtools/lib/nlp/literature_index/textpresso.py +0 -0
- {wbtools-3.7.0 → wbtools-3.7.1}/wbtools/lib/nlp/text_preprocessing.py +0 -0
- {wbtools-3.7.0 → wbtools-3.7.1}/wbtools/lib/nlp/text_similarity.py +0 -0
- {wbtools-3.7.0 → wbtools-3.7.1}/wbtools/lib/scraping.py +0 -0
- {wbtools-3.7.0 → wbtools-3.7.1}/wbtools/lib/timeout.py +0 -0
- {wbtools-3.7.0 → wbtools-3.7.1}/wbtools/literature/__init__.py +0 -0
- {wbtools-3.7.0 → wbtools-3.7.1}/wbtools/literature/abc_entities.py +0 -0
- {wbtools-3.7.0 → wbtools-3.7.1}/wbtools/literature/abc_search.py +0 -0
- {wbtools-3.7.0 → wbtools-3.7.1}/wbtools/literature/abc_tag_writer.py +0 -0
- {wbtools-3.7.0 → wbtools-3.7.1}/wbtools/literature/abc_tags.py +0 -0
- {wbtools-3.7.0 → wbtools-3.7.1}/wbtools/literature/corpus.py +0 -0
- {wbtools-3.7.0 → wbtools-3.7.1}/wbtools/literature/person.py +0 -0
- {wbtools-3.7.0 → wbtools-3.7.1}/wbtools/utils/__init__.py +0 -0
- {wbtools-3.7.0 → wbtools-3.7.1}/wbtools/utils/alliance.py +0 -0
- {wbtools-3.7.0 → wbtools-3.7.1}/wbtools/utils/auth_utils.py +0 -0
- {wbtools-3.7.0 → wbtools-3.7.1}/wbtools.egg-info/SOURCES.txt +0 -0
- {wbtools-3.7.0 → wbtools-3.7.1}/wbtools.egg-info/dependency_links.txt +0 -0
- {wbtools-3.7.0 → wbtools-3.7.1}/wbtools.egg-info/requires.txt +0 -0
- {wbtools-3.7.0 → wbtools-3.7.1}/wbtools.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: wbtools
|
|
3
|
-
Version: 3.7.
|
|
3
|
+
Version: 3.7.1
|
|
4
4
|
Summary: Interface to WormBase (www.wormbase.org) curation data, including literature management and NLP functions
|
|
5
5
|
Author-email: Valerio Arnaboldi <valearna@caltech.edu>
|
|
6
6
|
Project-URL: Homepage, https://github.com/WormBase/wbtools
|
|
@@ -199,6 +199,9 @@ class WBPaper(object):
|
|
|
199
199
|
token = get_authentication_token()
|
|
200
200
|
headers = generate_headers(token)
|
|
201
201
|
paper_content = get_data_from_url(file_download_api, headers, file_type='pdf')
|
|
202
|
+
if paper_content is None:
|
|
203
|
+
# the download failed (get_data_from_url already logged why): skip this file, keep the others
|
|
204
|
+
return False
|
|
202
205
|
with tempfile.NamedTemporaryFile() as tmp_file:
|
|
203
206
|
tmp_file.write(paper_content)
|
|
204
207
|
text_content = convert_pdf_to_txt(tmp_file.name)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: wbtools
|
|
3
|
-
Version: 3.7.
|
|
3
|
+
Version: 3.7.1
|
|
4
4
|
Summary: Interface to WormBase (www.wormbase.org) curation data, including literature management and NLP functions
|
|
5
5
|
Author-email: Valerio Arnaboldi <valearna@caltech.edu>
|
|
6
6
|
Project-URL: Homepage, https://github.com/WormBase/wbtools
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|