forked from DDMAL/cantus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(omr search): create non-existent folios when indexing manuscript…
… mei When chants end on a folio where no other chants begin, the folio does not exist in CantusDB but does have an MEI file. For example, see folio A14r in Salzinnes. Here, we modify the index_manuscript_mei command to create a folio in such cases (we check that it's a "real" folio by making sure the mei file follows a naming convention and then create the folio if it doesn't exist). The user is alerted to this, and they must manually add the image_uri to the folio (either through the admin panel or the map folios process) and then reindex the mei. This is detailed in issue DDMAL#891. This is convoluted, but given that we're going to change the structure of the CU database soon so that it is more closely coupled with CantusDB, we'll figure out a more permanent solution then -- solving DDMAL#891).
- Loading branch information
Showing
3 changed files
with
1,187 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.