You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the actual issue is that the first contributor in the list had no roles (roleName: []). [] evaluates to False, so contributorType is not set, so it is not there to be pop'd.
I am trying to generate the DOI for a dandiset with this metadata:
I am getting a
KeyError: contributorType
from https://github.com/dandi/dandischema/blob/master/dandischema/datacite.py#L159.I think that prependingdcite:
to all of the elements inDATACITE_CONTRTYPE
might resolve the issue?The text was updated successfully, but these errors were encountered: