Skip to content

Commit

Permalink
optional given/family name
Browse files Browse the repository at this point in the history
  • Loading branch information
icereval committed Jul 10, 2016
1 parent 362ef7a commit c1e3b01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions providers/org/crossref/normalizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ class Affiliation(Parser):


class Person(Parser):
given_name = ctx.given
family_name = ctx.family
given_name = Maybe(ctx, 'given')
family_name = Maybe(ctx, 'family')
affiliations = Map(Delegate(Affiliation.using(entity=Delegate(Organization))), Maybe(ctx, 'affiliation'))


Expand Down

0 comments on commit c1e3b01

Please sign in to comment.