-
Notifications
You must be signed in to change notification settings - Fork 7
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
enrich ISBNs (Alma) #1180
Comments
If an isbn10 exists a corresponding isbn13 is generated. Also, an isbn is normalized by removing semnatic sugar, so that: - "isbn" : [ "3-642-32079-1" ], + "isbn" : [ "3642320791", "9783642320798" ], See #1180.
Going to deploy. |
Deployed, see e.g. #1184. |
c6e59ec introduced duplicate isbns. This cannot be seen in the test data (https://github.com/hbz/lobid-resources/blob/master/src/test/resources/alma/(DE-605)HT019246898.json) but in the new index (http://alma.lobid.org/resources/search?q=HT019246898&format=json). That's because the tests are not working atm (see #1124) and we have to check manually by doing a |
I assume that the source data already has ISBN-10 and ISBN-13. It would make sense to add the Due to the merging of multiple PRs at the same time the test data does not reflect all changes but only those that are pushed with the specific branches. Perhaps we should update the testfile after merging the master in the feature branch before merging the PR. |
I updated the morph and open a PR now. |
The transformed testfile was behind the updated morph process due to being introduced in a differenct branch. #1180 (comment)
Indeed, the test resource HT019246898.json was added at a later stage. It proves to be a very good test case also for isbn, because this test case (a resource having both, isbn10 and isbn13) was not present before.
Yes, in this case it's true (working tests would come in handy here ;) ). |
Deployed, see http://alma.lobid.org/resources/search?q=HT019246898&format=json. Closed. |
Currently Alma exports only the ISBNs which are in the origin MARC record.
Please use morph functions
<isbn to="isbn10"/>
and<isbn to="isbn13"/>
to ensure that both versions of ISBNs find their way in the lobid-resources.Example: http://alma.lobid.org/resources/990030520380206441.json
The text was updated successfully, but these errors were encountered: