From 0349fa2e697b51702bd03f9f83f795e2007b338b Mon Sep 17 00:00:00 2001 From: Michael-E-Rose Date: Fri, 27 Dec 2024 20:28:03 +0000 Subject: [PATCH] deploy: eaa32809ea70c80cdb00f74d67ef716e951255dd --- .buildinfo | 2 +- _modules/index.html | 4 ++-- _modules/pubmed_parser/medline_parser.html | 12 ++++++------ _modules/pubmed_parser/pubmed_oa_parser.html | 6 +++--- _modules/pubmed_parser/pubmed_web_parser.html | 4 ++-- _static/documentation_options.js | 2 +- api.html | 4 ++-- genindex.html | 4 ++-- index.html | 4 ++-- install.html | 4 ++-- objects.inv | Bin 483 -> 483 bytes resources.html | 4 ++-- search.html | 4 ++-- spark.html | 4 ++-- 14 files changed, 29 insertions(+), 29 deletions(-) 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 @@ - Overview: module code — Pubmed Parser 0.5.2.dev10+g374a336 documentation + Overview: module code — Pubmed Parser 0.5.2.dev11+geaa3280 documentation - + diff --git a/_modules/pubmed_parser/medline_parser.html b/_modules/pubmed_parser/medline_parser.html index 04de1a2..2ff21a5 100644 --- a/_modules/pubmed_parser/medline_parser.html +++ b/_modules/pubmed_parser/medline_parser.html @@ -5,14 +5,14 @@ - pubmed_parser.medline_parser — Pubmed Parser 0.5.2.dev10+g374a336 documentation + pubmed_parser.medline_parser — Pubmed Parser 0.5.2.dev11+geaa3280 documentation - + @@ -655,10 +655,10 @@

Source code for pubmed_parser.medline_parser

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 b98b77b266ebfcbf58fccdf73da494807f306080..0cc727c0f90ce8112e4ac69a7b81de52781b3c67 100644 GIT binary patch delta 21 ccmaFN{Fr%yH - 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 - +