Fix affiliation field name in Person class
All checks were successful
Test pipeline / test (push) Successful in 13s
All checks were successful
Test pipeline / test (push) Successful in 13s
This commit is contained in:
parent
554951265e
commit
77930649b1
1 changed files with 4 additions and 4 deletions
|
@ -411,7 +411,7 @@ class Person:
|
|||
if isinstance(self.affiliation, Institution):
|
||||
affiliation_field = self.affiliation.affiliation_field()
|
||||
else:
|
||||
affiliation_field = PrimitiveMetadataField("authorAffiliation", False, self.affiliation)
|
||||
affiliation_field = PrimitiveMetadataField("datasetContactAffiliation", False, self.affiliation)
|
||||
|
||||
return [
|
||||
PrimitiveMetadataField("datasetContactName", False, self.format_name()),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue