From 5f23ec1956eb5a53848c480a2f8399ac2f3f30ff Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 20 May 2019 20:09:07 -0700 Subject: include structured contrib names in CDL/dash importer --- python/fatcat_tools/importers/cdl_dash_dat.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python') 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'), -- cgit v1.2.3