Skip to content

Commit

Permalink
Update ocrd_models/ocrd_page_user_methods.py
Browse files Browse the repository at this point in the history
Co-authored-by: Robert Sachunsky <38561704+bertsky@users.noreply.github.com>
  • Loading branch information
kba and bertsky authored May 14, 2020
1 parent 968bac6 commit 2162f0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocrd_models/ocrd_page_user_methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []
Expand Down

0 comments on commit 2162f0f

Please sign in to comment.