muscat
muscat copied to clipboard
510 missing $c
There are imported records (from A/I and B/I) where a 510$a was added but no $c.
@HirschSt will check and do the following:
- [x] If the template is SUB and 510 just has $a
B/I
without $c, then first check whether the parent has a 510$a and $c. If it does, then delete the 510 from the SUB. These all likely have RISM IDs that start with 993. (done with https://github.com/rism-international/muscat-maintenance/commit/1039b297de2a1ceae272d7489d831b6a7c70ee64) - [x] In records like https://muscat.rism.info/admin/sources/1000000610 where 510 has A/I and no $c, A/I can simply be deleted (done with https://github.com/rism-international/muscat-maintenance/commit/dce3ee75a0d3876d40d0f4fe064e8575d403057a).
This is from the Health Report error "510-c: required."
The script seems to have caught most of the cases we anticipated above. There were a few instances (ca. 5-10?) of records like https://muscat.rism.info/admin/sources/1001017663 where the parent has a B/I number but it was not removed in the SUB; these all had Muscat numbers and not 993.
The remaining errors are due to a third situation: 510$aB/I was added to records in an early import where the material was suitable for B/I (i.e., an anthology) but not actually in B/I. In these cases, B/I should also be removed from the SUB.
The strays as well as the records affected by the third situation are in a list. In all cases, 510$a should be removed. The list is here: https://docs.google.com/spreadsheets/d/17oVbkw2bCcu5f3F8oJmQYxMUcU4MOV1Gz7BnXF8PJTg/edit#gid=0
976 records in the list. After that, the error should completely disappear.
Please see my comment above regarding the remaining records for this error.