aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2020-03-10 12:52:42 +0100
committerMartin Czygan <martin.czygan@gmail.com>2020-03-10 12:52:42 +0100
commit4fcdc6d60260ca79693fd7d1ce2ae03065d5ef0c (patch)
treef6463ad8a844c33ea49306dff8df9ae9254c95ad /python/fatcat_tools
parentdb8892f2d960379525a4182b884c1d51c0c70186 (diff)
downloadfatcat-4fcdc6d60260ca79693fd7d1ce2ae03065d5ef0c.tar.gz
fatcat-4fcdc6d60260ca79693fd7d1ce2ae03065d5ef0c.zip
pubmed: log to stderr
Diffstat (limited to 'python/fatcat_tools')
-rw-r--r--python/fatcat_tools/harvest/pubmed.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/fatcat_tools/harvest/pubmed.py b/python/fatcat_tools/harvest/pubmed.py
index 34522eb3..3f31696e 100644
--- a/python/fatcat_tools/harvest/pubmed.py
+++ b/python/fatcat_tools/harvest/pubmed.py
@@ -187,7 +187,7 @@ def generate_date_file_map(host='ftp.ncbi.nlm.nih.gov'):
fullpath = '/pubmed/updatefiles/{}.gz'.format(filename)
date_str = date.strftime('%Y-%m-%d')
mapping[date_str].add(fullpath)
- print('added entry for {}: {}'.format(date_str, fullpath))
+ print('added entry for {}: {}'.format(date_str, fullpath), file=sys.stderr)
print('generated date-file mapping for {} dates'.format(len(mapping)), file=sys.stderr)
return mapping