From 0202f5f9d0c508e2c4cc4af6a8b22bd624bcbd0b Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Sat, 17 Jul 2021 01:38:29 +0200 Subject: pubmed: update docs --- python/fatcat_tools/harvest/pubmed.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/python/fatcat_tools/harvest/pubmed.py b/python/fatcat_tools/harvest/pubmed.py index 98bb7f00..fd4af1f4 100644 --- a/python/fatcat_tools/harvest/pubmed.py +++ b/python/fatcat_tools/harvest/pubmed.py @@ -95,8 +95,9 @@ class PubmedFTPWorker: def fetch_date(self, date): """ - Fetch file for a given date and feed Kafka one article per message. If - the fetched XML does not contain a PMID, this method will fail. + Fetch file or files for a given date and feed Kafka one article per + message. If the fetched XML does not contain a PMID an exception is + raised. If no date file mapping is found, this will fail. """ -- cgit v1.2.3