Commit a020416
authored
Add support for CVAT annotation format (#29)
* Add support for CVAT annotation format
* format
* update
* format
* remove sequence
* fix type check error
* keep order of attributes for python 3.7
* update xml compare
* clean up
* no nned for OrderedDict anymore as the xml comparison changed
* Update error message
* use Pydantic XML
* add pydantic-xml to project.toml
* update poetry.lock file
* update
* remove unused "type: ignore" comment
* update
* update after review
* remove test as it will produce mypy error
* update type of output_annotation_scope parameter
* fix test and xml compare function
* remove default value from output-annotation-scope cli argument
* add default value for output_annotation_scope1 parent d2b9af4 commit a020416
File tree
5 files changed
+616
-1
lines changed- src/labelformat/formats
- tests/unit/formats
5 files changed
+616
-1
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
| 57 | + | |
| 58 | + | |
56 | 59 | | |
57 | 60 | | |
58 | 61 | | |
| |||
0 commit comments