diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2020-01-08 03:47:10 +0100 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2020-01-08 03:47:10 +0100 |
commit | a7e5460d6355dd0e99b08e480d4e50755fda3b16 (patch) | |
tree | 8653d28948c0c1c374b695ebce533a244bcad950 /python/fatcat_tools/importers/datacite.py | |
parent | a23f73e37cd88de5467c47aa5f84b96448c5713d (diff) | |
download | fatcat-a7e5460d6355dd0e99b08e480d4e50755fda3b16.tar.gz fatcat-a7e5460d6355dd0e99b08e480d4e50755fda3b16.zip |
datacite: mark additional files as stub
Diffstat (limited to 'python/fatcat_tools/importers/datacite.py')
-rw-r--r-- | python/fatcat_tools/importers/datacite.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/python/fatcat_tools/importers/datacite.py b/python/fatcat_tools/importers/datacite.py index 587a65aa..90bc3db7 100644 --- a/python/fatcat_tools/importers/datacite.py +++ b/python/fatcat_tools/importers/datacite.py @@ -547,6 +547,10 @@ class DataciteImporter(EntityImporter): if publisher == 'Cambridge Crystallographic Data Centre': release_type = 'entry' + # Supplement files, e.g. "Additional file 1: ASE constructs in questionnaire." + if title.lower().startswith('additional file'): + release_type = 'stub' + # Language values are varied ("ger", "es", "English", "ENG", "en-us", # "other", ...). Try to crush it with langcodes: "It may sound to you # like langcodes solves a pretty boring problem. At one level, that's |