t2d2-sdk 2.2.0__tar.gz → 2.2.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {t2d2_sdk-2.2.0/src/t2d2_sdk.egg-info → t2d2_sdk-2.2.1}/PKG-INFO +1 -1
- {t2d2_sdk-2.2.0 → t2d2_sdk-2.2.1}/src/_version.py +2 -2
- {t2d2_sdk-2.2.0 → t2d2_sdk-2.2.1/src/t2d2_sdk.egg-info}/PKG-INFO +1 -1
- {t2d2_sdk-2.2.0 → t2d2_sdk-2.2.1}/src/t2d2_sdk.py +5 -1
- {t2d2_sdk-2.2.0 → t2d2_sdk-2.2.1}/.github/workflows/publish_pypi.yaml +0 -0
- {t2d2_sdk-2.2.0 → t2d2_sdk-2.2.1}/.github/workflows/sphinx.yml +0 -0
- {t2d2_sdk-2.2.0 → t2d2_sdk-2.2.1}/.gitignore +0 -0
- {t2d2_sdk-2.2.0 → t2d2_sdk-2.2.1}/LICENSE +0 -0
- {t2d2_sdk-2.2.0 → t2d2_sdk-2.2.1}/README.md +0 -0
- {t2d2_sdk-2.2.0 → t2d2_sdk-2.2.1}/docs/Makefile +0 -0
- {t2d2_sdk-2.2.0 → t2d2_sdk-2.2.1}/docs/make.bat +0 -0
- {t2d2_sdk-2.2.0 → t2d2_sdk-2.2.1}/docs/requirements.txt +0 -0
- {t2d2_sdk-2.2.0 → t2d2_sdk-2.2.1}/docs/source/conf.py +0 -0
- {t2d2_sdk-2.2.0 → t2d2_sdk-2.2.1}/docs/source/index.rst +0 -0
- {t2d2_sdk-2.2.0 → t2d2_sdk-2.2.1}/pyproject.toml +0 -0
- {t2d2_sdk-2.2.0 → t2d2_sdk-2.2.1}/setup.cfg +0 -0
- {t2d2_sdk-2.2.0 → t2d2_sdk-2.2.1}/src/t2d2_sdk.egg-info/SOURCES.txt +0 -0
- {t2d2_sdk-2.2.0 → t2d2_sdk-2.2.1}/src/t2d2_sdk.egg-info/dependency_links.txt +0 -0
- {t2d2_sdk-2.2.0 → t2d2_sdk-2.2.1}/src/t2d2_sdk.egg-info/requires.txt +0 -0
- {t2d2_sdk-2.2.0 → t2d2_sdk-2.2.1}/src/t2d2_sdk.egg-info/top_level.txt +0 -0
- {t2d2_sdk-2.2.0 → t2d2_sdk-2.2.1}/tests/t2d2_test.py +0 -0
|
@@ -1713,7 +1713,11 @@ class T2D2(object):
|
|
|
1713
1713
|
sublist = {}
|
|
1714
1714
|
for ann in annotations:
|
|
1715
1715
|
label = ann["annotation_class"]["annotation_class_name"]
|
|
1716
|
-
|
|
1716
|
+
condition = ann.get("condition", {})
|
|
1717
|
+
if isinstance(condition, dict):
|
|
1718
|
+
rating = condition.get("rating_name", "default")
|
|
1719
|
+
else:
|
|
1720
|
+
rating = "default"
|
|
1717
1721
|
area = ann["area"]
|
|
1718
1722
|
length = ann["length"]
|
|
1719
1723
|
ann_id = ann["id"]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|