-
Notifications
You must be signed in to change notification settings - Fork 29
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
Improvement: new TNM regex #366
base: master
Are you sure you want to change the base?
Conversation
|
Coverage Report
Files without new missing coverage
274 files skipped due to complete coverage. Coverage failure: total of 98.00% is less than 98.06% ❌ |
Description
Add a new TNM regex that outperforms the old one. By default,
eds.tnm
will use the new regex pattern, but the old one will remain accessible.Code example:
Changes
patterns_new.py
: File containing new tnm regex. Compare to old one add many new sections.patterns.py
: Old regex file. Renamed some sections to match new section names used inmodel.py
.tnm.py
: Change default pattern to new pattern.test_tnm.py
: Change tnp pipe definition to still use old regex.model.py
: Remove part of pydantic typing validation to work with both old and new patterns.TODO
model.py
: add pydantic good typingtest_tnm.py
: update unit testsChecklist