elifesciences / elife-crossref-xml-generation

Crossref deposit of journal articles
MIT License
4 stars 3 forks source link

Feature blank affiliation fix #48

Closed gnott closed 7 years ago

gnott commented 7 years ago

A case encountered in eLife article 00351 when resubmitting it. The author's Affiliation.text is a blank string. This caused an empty <affiliation/> tag to be added to the Crossref deposit, which is invalid. This code will omit adding an <affiliation> tag unless the affiliation text is non-blank.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 09b7c3e2822f38e717331bbfcc8033c62c0b642e on feature-blank-affiliation into 2459d27a0adc07bb2b83b84ab694fcd519ab7c77 on develop.