FOLIO-FSE / folio_migration_tools

A Python module and CLI tool that transforms legacy ILS data into the native FOLIO formats and loads it into FOLIO
MIT License
11 stars 9 forks source link

Handle single-item list of call numbers for III-style bound with items #768

Closed bltravis closed 3 months ago

bltravis commented 5 months ago

When processing item data with III-style boundwiths (eg. Sierra/Millenium item data), If there the number of bib-level call numbers is not the same as number of bibIds, but the bib-level call numbers are represented as the string representation of a single-item list in the delimited data, the current result is an IndexError. The processor should use the callNum value at index zero when the number of bibIds is > number of call numbers.