nlmatics / nlm-ingestor

This repo provides the server side code for llmsherpa API to connect. It includes parsers for various file formats.
https://www.nlmatics.com
Apache License 2.0
1.11k stars 160 forks source link

fix bug in new_indent_parser #87

Closed hguhlich closed 1 month ago

hguhlich commented 3 months ago

If curr_header is not set first, this leads to a type error, see #21

Description of the change

Check if curr_header is initialized in the same way as in the if statement above.

Type of change

Related issues

Fix [#21]()

Checklists

Development

Code review