We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d83d682 commit ef62042Copy full SHA for ef62042
caltechdata_api/decustomize_schema.py
@@ -56,7 +56,7 @@ def decustomize_schema(json_record):
56
for a in authors:
57
new = {}
58
if 'authorAffiliation' in a:
59
- if isinstance(c['contributorAffiliation'],list):
+ if isinstance(a['authorAffiliation'],list):
60
new['affiliations'] = a['authorAffiliation']
61
else:
62
new['affiliations'] = [a['authorAffiliation']]
0 commit comments