Skip to content
Snippets Groups Projects

t366 t367 made steps optional

Merged PIQUEMAL Sébastien requested to merge t366-t367-optional-steps into main
1 unresolved thread

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
43 parsing_context = step_consolidation(parsing_context)
44
45 return parsing_context
46
47
48 def ocr_file_to_html_file(settings, input_path: Path, output_path: Path):
49 with open(input_path, "r", encoding="utf-8") as f:
50 raw_lines = f.readlines()
51 parsing_context = ocr_to_html(settings, raw_lines)
52 with open(output_path, "w", encoding="utf-8") as f:
53 f.write(parsing_context.soup.prettify())
54
55
56 def main():
29 def main(args: List[str]) -> None:
57 30 parser = OptionParser()
  • MEYER Sébastien approved this merge request

    approved this merge request

  • mentioned in commit f859517b

  • Please register or sign in to reply
    Loading