-
Notifications
You must be signed in to change notification settings - Fork 458
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
Unable to disabe Crossref consolidation via consolidateHeader #300
Labels
bug
From Hemiptera and especially its suborder Heteroptera
Comments
I put the label bug to this issue ;) |
lfoppiano
added a commit
that referenced
this issue
Apr 24, 2018
OK, it should be fixed now 😄 |
Working as expected. Thank you! |
de-code
pushed a commit
to elifesciences/grobid
that referenced
this issue
Nov 29, 2019
Former-commit-id: f6a3eda
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am trying to disable the Crossref consolidation.
The UI has a tick box to disable it, but it doesn't seem to have an affect. I don't see the flag in the network request. (Both locally as well as on the demo site)
According to the docs, there is the consolidateHeader flag. It looks like it is a form parameter.
That doesn't seem to have the desired effect.
It could be that it's related to this if condition that seem to ignore the flag it found the DOI:
grobid/grobid-core/src/main/java/org/grobid/core/engines/HeaderParser.java
Line 267 in 2d3e11e
(The document has indeed a DOI and I can see the request being made for the DOI)
Test document:
https://www.biorxiv.org/content/biorxiv/early/2018/03/26/287888.full.pdf
In that PDF, author first names are abbreviated - with consolidateHeader=0 I am expecting the XML to contain the names as per PDF. Just to show that it's not hidden somewhere, disabling access to Crossref does produce the desired result.
The text was updated successfully, but these errors were encountered: