Bug fix for the parseJATS.elocation_id() function.
On non-eLife XML samples, if the article itself has no <elocation-id> tag, but there is a citation with one, then it returns the value from the first citation.
Instead, only look for the value in the <article-meta> tag content.
Coverage remained the same at 99.713% when pulling 11d01b03a0e5cd9903db1c6b3edae77b6eb5db13 on elocation_id into 4ede159cd8793dcc8a5957297ce196d36cfebea2 on develop.
Bug fix for the
parseJATS.elocation_id()
function.On non-eLife XML samples, if the article itself has no
<elocation-id>
tag, but there is a citation with one, then it returns the value from the first citation.Instead, only look for the value in the
<article-meta>
tag content.This is similar to how
issue()
is done already.