osteoid 0.1.0__py3-none-any.whl
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.
- osteoid/__init__.py +2 -0
- osteoid/exceptions.py +22 -0
- osteoid/lib.py +783 -0
- osteoid/skeleton.py +1353 -0
- osteoid/util.py +20 -0
- osteoid/viewer.py +105 -0
- osteoid-0.1.0.dist-info/LICENSE +28 -0
- osteoid-0.1.0.dist-info/METADATA +26 -0
- osteoid-0.1.0.dist-info/RECORD +10 -0
- osteoid-0.1.0.dist-info/WHEEL +4 -0
osteoid/__init__.py
ADDED
osteoid/exceptions.py
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
class SkeletonUnassignedEdgeError(Exception):
|
|
2
|
+
"""This skeleton has an edge to a vertex that doesn't exist."""
|
|
3
|
+
pass
|
|
4
|
+
|
|
5
|
+
class SkeletonDecodeError(Exception):
|
|
6
|
+
"""Unable to decode a binary skeleton into a Python object."""
|
|
7
|
+
pass
|
|
8
|
+
|
|
9
|
+
class SkeletonEncodeError(Exception):
|
|
10
|
+
"""Unable to encode a PrecomputedSkeleton into a binary object."""
|
|
11
|
+
pass
|
|
12
|
+
|
|
13
|
+
class SkeletonTransformError(Exception):
|
|
14
|
+
"""Unable to apply a spatial transfrom to the current coordinate system."""
|
|
15
|
+
pass
|
|
16
|
+
|
|
17
|
+
class SkeletonAttributeMixingError(Exception):
|
|
18
|
+
"""
|
|
19
|
+
These skeletons have different vertex attributes
|
|
20
|
+
and cannot be recombined without manual intervention.
|
|
21
|
+
"""
|
|
22
|
+
pass
|