aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-05-20 20:09:07 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-05-20 20:09:07 -0700
commit5f23ec1956eb5a53848c480a2f8399ac2f3f30ff (patch)
treeafc30bf013e57ff4880f93acf9dd60085b957490
parentab9fe881c0531b5dd4e2a648e65d4d04b991b807 (diff)
downloadfatcat-5f23ec1956eb5a53848c480a2f8399ac2f3f30ff.tar.gz
fatcat-5f23ec1956eb5a53848c480a2f8399ac2f3f30ff.zip
include structured contrib names in CDL/dash importer
-rwxr-xr-xpython/fatcat_tools/importers/cdl_dash_dat.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/fatcat_tools/importers/cdl_dash_dat.py b/python/fatcat_tools/importers/cdl_dash_dat.py
index 5175aa89..aa7fab2b 100755
--- a/python/fatcat_tools/importers/cdl_dash_dat.py
+++ b/python/fatcat_tools/importers/cdl_dash_dat.py
@@ -86,8 +86,8 @@ def cdl_dash_release(meta, extra=None):
contribs = []
for creator in meta['creator']:
contribs.append(ReleaseContrib(
- # TODO: given_name=creator['given'],
- # TODO: surname=creator['family'],
+ given_name=creator['given'],
+ surname=creator['family'],
# sorry everybody
raw_name="{} {}".format(creator['given'], creator['family']),
raw_affiliation=creator.get('affiliation'),