1
0
Fork 0
mirror of https://github.com/qurator-spk/dinglehopper.git synced 2025-06-30 22:19:57 +02:00
dinglehopper/qurator
Benjamin Rosemann 6ff831dfd2 Sort textlines with missing indices
Python's `sorted` method will fail with a TypeError when called with
`None` and Integers:

```python
>>> sorted([None, 1])
TypeError: '<' not supported between instances of 'int' and 'NoneType'
```
Therefore we are using `float('inf')` instead of `None` in case of
missing textline indices.
2020-10-29 10:03:40 +01:00
..
dinglehopper Sort textlines with missing indices 2020-10-29 10:03:40 +01:00
__init__.py Revert "Merge branch 'master' of https://github.com/qurator-spk/sbb_textline_detector" 2019-12-09 12:44:05 +01:00