diff --git a/ocrd_models/ocrd_page_user_methods.py b/ocrd_models/ocrd_page_user_methods.py index dd00f4904..7a49908fa 100644 --- a/ocrd_models/ocrd_page_user_methods.py +++ b/ocrd_models/ocrd_page_user_methods.py @@ -94,7 +94,7 @@ def get_AllRegions(self, regions=None, reading_order=False): Returned in random order unless ``reading_order`` is set (NOT CURRENTLY IMPLEMENTED) """ if reading_order: - raise NotImplementedError("Ordering of regions by Reading Order not currently Implemented :(") + reading_order = self.get_ReadingOrder() if not regions: regions = ['Advert', 'Chart', 'Chem', 'Custom', 'Graphic', 'Image', 'LineDrawing', 'Map', 'Maths', 'Music', 'Noise', 'Separator', 'Table', 'Text', 'Unknown'] ret = []