Skip to content

Commit

Permalink
docstring for fix_reading_order
Browse files Browse the repository at this point in the history
  • Loading branch information
kba committed Jan 11, 2022
1 parent ac01e9c commit 759a685
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transkribus_to_prima/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def convert_metadata(self):
el_metadata.getparent().remove(el_metadata)

def convert_reading_order(self):
"""Convert ???"""
"""Convert reading order from Relations (Transkribus) to ReadingOrder (PRImA)"""
ro = self.tree.xpath('//*[local-name()="ReadingOrder"]/*[local-name()="OrderedGroup"]')[0]
relations = self.tree.xpath('//*[local-name()="Relations"]')
if not len(relations):
Expand Down

0 comments on commit 759a685

Please sign in to comment.