-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
process validation: allow tasks without outfilegrp #296
Conversation
Obviously I forgot to adapt the validator test. So do we skip the offending |
Maybe the validator can be made sensitive of whether the task (as per |
🔥 --output-file-grp optional, OCR-D/core#296
Codecov Report
@@ Coverage Diff @@
## master #296 +/- ##
==========================================
- Coverage 90.72% 90.71% -0.01%
==========================================
Files 30 30
Lines 1649 1648 -1
Branches 319 320 +1
==========================================
- Hits 1496 1495 -1
Misses 112 112
Partials 41 41
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great, thank you!
Just wondering: as more stuff leaves the decorators, I hope you don't forget that we need all the process (JSON, file grps) validation in the decorator already. See #251. Will that still be possible?
Codecov Report
@@ Coverage Diff @@
## master #296 +/- ##
=======================================
Coverage 85.32% 85.32%
=======================================
Files 30 30
Lines 1758 1758
Branches 339 340 +1
=======================================
Hits 1500 1500
Misses 208 208
Partials 50 50
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK to merge but we also need to adapt spec accordingly
Already adapted, |
Conflicts: ocrd_utils/ocrd_utils/__init__.py
Update ocrd_detectron2
Fixes #295