Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add DOI field check for article.doi #44

Open
eseiver opened this issue Nov 29, 2017 · 0 comments
Open

Add DOI field check for article.doi #44

eseiver opened this issue Nov 29, 2017 · 0 comments

Comments

@eseiver
Copy link
Collaborator

eseiver commented Nov 29, 2017

Right now, self.doi in the Article class (article_class.py) relies on the user entering the DOI correctly & the accompanying local filename matching. It would be good to also check that the DOI in local XML DOI field matches. That field is located in an element at the xpath location /article/front/article-meta/article-id with element.attrib = {"pub-id-type": "doi"} in element.text.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant