moevm / document_insight_system

6 stars 2 forks source link

Интервальные ссылки на рисунки/таблицы #427

Open HadronCollider opened 1 year ago

HadronCollider commented 1 year ago
Traceback (most recent call last):
  File "/usr/src/project/app/tasks.py", line 44, in create_task
    updated_check = check(parse(original_filepath, pdf_filepath), check_obj)
  File "/usr/src/project/app/main/checker.py", line 21, in check
    result, score, is_passed = pack.check()
  File "/usr/src/project/app/main/check_packs/base_criterion_pack.py", line 23, in check
    criterion_check_result = criterion.check()
  File "/usr/src/project/app/main/checks/report_checks/literature_references.py", line 45, in check
    references = self.search_references(start_literature_par)
  File "/usr/src/project/app/main/checks/report_checks/literature_references.py", line 84, in search_references
    array_of_references.add(int(one_part))
ValueError: invalid literal for int() with base 10: ' 5-8'
HadronCollider commented 1 year ago

https://slides-checker.moevm.info/results/64614577933309b43a239f58