diff --git a/.buildinfo b/.buildinfo index 0f9ac9c..38fa643 100644 --- a/.buildinfo +++ b/.buildinfo @@ -1,4 +1,4 @@ # Sphinx build info version 1 # This file records the configuration used when building these files. When it is not found, a full rebuild will be done. -config: edea708872256e073cf76793f6097e02 +config: 8c615fd430af692be9ae203c435a61d6 tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/_modules/index.html b/_modules/index.html index 91ee728..489a2d8 100644 --- a/_modules/index.html +++ b/_modules/index.html @@ -5,14 +5,14 @@
-medline = pubmed_article.find("MedlineCitation")
article = medline.find("Article")
- if article.find("ArticleTitle") is not None:
- title = stringify_children(article.find("ArticleTitle")).strip() or ""
- else:
- title = ""
+ try:
+ title = stringify_children(article.find("ArticleTitle")) or None
+ except AttributeError:
+ title = None
if article.find("Journal/JournalIssue/Volume") is not None:
volume = article.find("Journal/JournalIssue/Volume").text or ""
diff --git a/_modules/pubmed_parser/pubmed_oa_parser.html b/_modules/pubmed_parser/pubmed_oa_parser.html
index ea514c4..e4567fe 100644
--- a/_modules/pubmed_parser/pubmed_oa_parser.html
+++ b/_modules/pubmed_parser/pubmed_oa_parser.html
@@ -5,14 +5,14 @@
- pubmed_parser.pubmed_oa_parser — Pubmed Parser 0.5.2.dev10+g374a336 documentation
+ pubmed_parser.pubmed_oa_parser — Pubmed Parser 0.5.2.dev11+geaa3280 documentation
-
+
@@ -548,7 +548,7 @@ Source code for pubmed_parser.pubmed_oa_parser
fig_captions = fig.find("caption")
if fig_captions is not None:
- fig_captions = fig_captions.getchildren()
+ fig_captions = fig_captions.getchildren()[:1]
caption = " ".join([stringify_children(c) for c in fig_captions])
graphic = fig.find("graphic")
diff --git a/_modules/pubmed_parser/pubmed_web_parser.html b/_modules/pubmed_parser/pubmed_web_parser.html
index 8db42be..1c3859e 100644
--- a/_modules/pubmed_parser/pubmed_web_parser.html
+++ b/_modules/pubmed_parser/pubmed_web_parser.html
@@ -5,14 +5,14 @@
- pubmed_parser.pubmed_web_parser — Pubmed Parser 0.5.2.dev10+g374a336 documentation
+ pubmed_parser.pubmed_web_parser — Pubmed Parser 0.5.2.dev11+geaa3280 documentation
-
+
diff --git a/_static/documentation_options.js b/_static/documentation_options.js
index f87dc20..9ce9087 100644
--- a/_static/documentation_options.js
+++ b/_static/documentation_options.js
@@ -1,5 +1,5 @@
const DOCUMENTATION_OPTIONS = {
- VERSION: '0.5.2.dev10+g374a336',
+ VERSION: '0.5.2.dev11+geaa3280',
LANGUAGE: 'en',
COLLAPSE_INDEX: false,
BUILDER: 'html',
diff --git a/api.html b/api.html
index 39166a9..a7ebcfc 100644
--- a/api.html
+++ b/api.html
@@ -6,14 +6,14 @@
- API Documentation — Pubmed Parser 0.5.2.dev10+g374a336 documentation
+ API Documentation — Pubmed Parser 0.5.2.dev11+geaa3280 documentation
-
+
diff --git a/genindex.html b/genindex.html
index 0afd418..c98b09f 100644
--- a/genindex.html
+++ b/genindex.html
@@ -5,14 +5,14 @@
- Index — Pubmed Parser 0.5.2.dev10+g374a336 documentation
+ Index — Pubmed Parser 0.5.2.dev11+geaa3280 documentation
-
+
diff --git a/index.html b/index.html
index d3bc593..db595e9 100644
--- a/index.html
+++ b/index.html
@@ -6,14 +6,14 @@
- Pubmed Parser: A Python Parser for PubMed Open-Access XML Subset and MEDLINE XML Dataset — Pubmed Parser 0.5.2.dev10+g374a336 documentation
+ Pubmed Parser: A Python Parser for PubMed Open-Access XML Subset and MEDLINE XML Dataset — Pubmed Parser 0.5.2.dev11+geaa3280 documentation
-
+
diff --git a/install.html b/install.html
index dfeb00e..3c1e11d 100644
--- a/install.html
+++ b/install.html
@@ -6,14 +6,14 @@
- Installation — Pubmed Parser 0.5.2.dev10+g374a336 documentation
+ Installation — Pubmed Parser 0.5.2.dev11+geaa3280 documentation
-
+
diff --git a/objects.inv b/objects.inv
index b98b77b..0cc727c 100644
Binary files a/objects.inv and b/objects.inv differ
diff --git a/resources.html b/resources.html
index 97bd998..ca57de2 100644
--- a/resources.html
+++ b/resources.html
@@ -6,14 +6,14 @@
- Resources — Pubmed Parser 0.5.2.dev10+g374a336 documentation
+ Resources — Pubmed Parser 0.5.2.dev11+geaa3280 documentation
-
+
diff --git a/search.html b/search.html
index 1db0989..eb8741a 100644
--- a/search.html
+++ b/search.html
@@ -5,7 +5,7 @@
- Search — Pubmed Parser 0.5.2.dev10+g374a336 documentation
+ Search — Pubmed Parser 0.5.2.dev11+geaa3280 documentation
@@ -13,7 +13,7 @@
-
+
diff --git a/spark.html b/spark.html
index d7dbb84..20ec071 100644
--- a/spark.html
+++ b/spark.html
@@ -6,14 +6,14 @@
- Setting up Pubmed Parser with PySpark — Pubmed Parser 0.5.2.dev10+g374a336 documentation
+ Setting up Pubmed Parser with PySpark — Pubmed Parser 0.5.2.dev11+geaa3280 documentation
-
+