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 ADDED
@@ -0,0 +1,2 @@
1
+ from .skeleton import Skeleton
2
+ from .util import save, load
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