diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-05-20 20:09:07 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-05-20 20:09:07 -0700 |
commit | 5f23ec1956eb5a53848c480a2f8399ac2f3f30ff (patch) | |
tree | afc30bf013e57ff4880f93acf9dd60085b957490 /python/fatcat_tools/importers | |
parent | ab9fe881c0531b5dd4e2a648e65d4d04b991b807 (diff) | |
download | fatcat-5f23ec1956eb5a53848c480a2f8399ac2f3f30ff.tar.gz fatcat-5f23ec1956eb5a53848c480a2f8399ac2f3f30ff.zip |
include structured contrib names in CDL/dash importer
Diffstat (limited to 'python/fatcat_tools/importers')
-rwxr-xr-x | python/fatcat_tools/importers/cdl_dash_dat.py | 4 |
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'), |