aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2020-02-18 22:23:46 -0800
committerBryan Newbold <bnewbold@robocracy.org>2020-02-18 22:23:46 -0800
commit1b970b7a807ed28549facf796d6ef65288bc9db2 (patch)
tree955adef4643ee95b08c14e1925db3b2f622b387f /python/fatcat_tools
parentc1fdc9e25cfa6e24277b3e84c3a4bd36ab61e314 (diff)
downloadfatcat-1b970b7a807ed28549facf796d6ef65288bc9db2.tar.gz
fatcat-1b970b7a807ed28549facf796d6ef65288bc9db2.zip
ingest import: allow short version of corpus names
Diffstat (limited to 'python/fatcat_tools')
-rw-r--r--python/fatcat_tools/importers/ingest.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/fatcat_tools/importers/ingest.py b/python/fatcat_tools/importers/ingest.py
index bc2b4515..52b48f5e 100644
--- a/python/fatcat_tools/importers/ingest.py
+++ b/python/fatcat_tools/importers/ingest.py
@@ -32,8 +32,11 @@ class IngestFileResultImporter(EntityImporter):
'fatcat-ingest',
'arabesque',
'mag-corpus',
+ 'mag',
'unpaywall-corpus',
+ 'unpaywall',
's2-corpus',
+ 's2',
]
if kwargs.get('skip_source_whitelist', False):
self.ingest_request_source_whitelist = []