-
Notifications
You must be signed in to change notification settings - Fork 4
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
Change Assign Placenames robot to update cocina directly. #729
Conversation
Note that this gets rid of the code that creates LC subject headings. It seems like this code would almost never be exercised, as there are very few possible cases when the existing subject is found in the gazetteer but the subject doesn't match the LC Subject. Further note that it has been proposed to move to some sort of a dynamic lookup for the gazetteer instead of static data. See #732 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please say more about how you determined that "there are very few possible cases when the existing subject is found in the gazetteer but the subject doesn't match the LC Subject."?
^^ These are the only times in which the existing subject would not match an LC subject causing the LC subject to be added. (And I suspect that most of these are typos.) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you are removing the LC functionality can the Gazetteer.find_loc_*
methods and specs be removed. Also can the CSV be modified to no longer include the LC specific information that isn't used?
@edsu I removed the loc methods from the gazetteer and added a comment about the legacy data. I chose not to change the data to avoid messing it up, especially given that we'll probably be replacing it later in the WC. |
closes #705
Why was this change made? 🤔
Get rid of MODS.
How was this change tested? 🤨
⚡ ⚠ If this change involves consuming from other services or writing to shared file systems, test that GIS accessioning works properly in [stage|qa] environment, in addition to specs. ⚡
Unit