diff --git a/Changelog b/Changelog index dbc750d..316bcd4 100644 --- a/Changelog +++ b/Changelog @@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] ### Changed - Added tests for TEI API -- Evaluate texts from all struct types +- Evaluate texts from all struct types but `binding` and `colour_checker` - Add `front`, `body` and `back` per default ### Fixed diff --git a/mets_mods2tei/api/tei.py b/mets_mods2tei/api/tei.py index 59a210d..741e72b 100644 --- a/mets_mods2tei/api/tei.py +++ b/mets_mods2tei/api/tei.py @@ -699,7 +699,9 @@ def add_div_structure(self, div): entry_point = front for sub_div in div.get_div(): - if sub_div.get_TYPE() == "title_page": + if sub_div.get_TYPE() == "binding" or sub_div.get_TYPE() == "colour_checker": + continue + elif sub_div.get_TYPE() == "title_page": self.__add_div(entry_point, sub_div, 1, "titlePage") else: entry_point = body