diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2021-07-17 01:38:29 +0200 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2021-07-17 01:38:29 +0200 |
commit | 0202f5f9d0c508e2c4cc4af6a8b22bd624bcbd0b (patch) | |
tree | 6c2297a701fcba416c74b2647823c4c95d2ba661 | |
parent | 6056dcc93fa8111a04d76a7af5bcddb12704cb96 (diff) | |
download | fatcat-0202f5f9d0c508e2c4cc4af6a8b22bd624bcbd0b.tar.gz fatcat-0202f5f9d0c508e2c4cc4af6a8b22bd624bcbd0b.zip |
pubmed: update docs
-rw-r--r-- | python/fatcat_tools/harvest/pubmed.py | 5 |
1 files 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. """ |