-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add tidy format * Use tidy format for cpWER * Use tidy format for tcpWER * Update tidy data * Update Tidy format * Rename module io.tidy -> io.seglst * Rename types and methods (tidy -> seglst) and fix doctests * Use SegLST in testcases * Use seglst.apply_multi_file for CLI * Remove apply_stm_multi_file * Add new classmethod * Rename PBJson -> PBJsonUtt * Rename from_seglst -> new and SegLSTMixin -> BaseABC * Fix flake8 errors * Use decimal where possible * Fix typing.Self imports * Add fallback when TypedDict is not available * Use old blacklist_categories instead of exclude_categories for Py3.7 * Fix new implementations and example * Implement __radd__ for SelfOverlap - Py <3.8 doesn't have sum(start=...) arg, so we have to overwrite __radd__ * Rename from_seglst -> from_dict * Use builtin types for type annotations instead of types from typing * Disallow conversion to list/tuple with non-integer keys * Sort segments in remove_overlaps * Make final_types arg private * Remove caching from SegLST.keys * SegLST docs * Rename BaseLine.to_seglst -> to_seglst_segment * Handle and remove TODOs - A few todos are still present. They will be addressed in later PRs * Add .T (transpose) to SegLST and replace .keys with .T.keys() * Handle emtpy segments correctly in align * Define _repr_pretty_ for SegLST to get a consistent pprint across Python versions
- Loading branch information
Showing
22 changed files
with
1,820 additions
and
657 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.