diff --git a/HISTORY.rst b/HISTORY.rst
index 6a0161c..1d261d2 100644
--- a/HISTORY.rst
+++ b/HISTORY.rst
@@ -2,11 +2,13 @@
 History
 =======
 
+
 In progress
 -----------
 
 * Allow networkx 2+ to be used
 * Add NameResolver application
+* Add enum for connector relation types
 
 
 0.2.0 (2018-05-30)
diff --git a/catpy/__init__.py b/catpy/__init__.py
index 7365394..b05b812 100644
--- a/catpy/__init__.py
+++ b/catpy/__init__.py
@@ -1,6 +1,6 @@
 # -*- coding: utf-8 -*-
 
-from catpy.client import CatmaidClient, CoordinateTransformer, CatmaidUrl
+from catpy.client import CatmaidClient, CoordinateTransformer, CatmaidUrl, ConnectorRelation  # noqa
 from catpy.version import __version__, __version_info__  # noqa
 from catpy.author import __author__, __email__  # noqa
 from catpy import image
diff --git a/catpy/applications/export.py b/catpy/applications/export.py
index 7067a36..bfb42d6 100644
--- a/catpy/applications/export.py
+++ b/catpy/applications/export.py
@@ -7,6 +7,8 @@ import networkx as nx
 from networkx.readwrite import json_graph
 
 from catpy.applications.base import CatmaidClientApplication
+from catpy.applications.relation_identifier import RelationIdentifier
+from catpy.client import ConnectorRelation
 
 
 NX_VERSION_INFO = tuple(int(i) for i in nx.__version__.split('.'))
@@ -189,8 +191,10 @@ class ExportWidget(CatmaidClientApplication):
         -------
         dict
         """
+        rel_id = self.get_relation_identifier()
 
         skeletons = dict()
+        warnings = set()
 
         for skeleton_id in skeleton_ids:
 
@@ -207,19 +211,36 @@ class ExportWidget(CatmaidClientApplication):
                 }
 
             for connector in data[1]:
-                if connector[2] not in [0, 1]:
+                try:
+                    relation = rel_id.from_id(connector[2])
+                except ValueError as e:
+                    msg = str(e)
+                    if " is not a valid " in msg:
+                        warnings.add(str(e))
+                        continue
+                    else:
+                        raise e
+
+                if not relation.is_synaptic:
                     continue
 
                 conn_id = int(connector[1])
                 if conn_id not in skeleton["connectors"]:
                     skeleton["connectors"][conn_id] = {
-                        "presynaptic_to": [], "postsynaptic_to": []
+                        r.name: [] for r in ConnectorRelation if r.is_synaptic
                     }
 
                 skeleton["connectors"][conn_id]["location"] = connector[3:6]
-                relation = "postsynaptic_to" if connector[2] == 1 else "presynaptic_to"
-                skeleton["connectors"][conn_id][relation].append(connector[0])
+                skeleton["connectors"][conn_id][relation.name].append(connector[0])
 
             skeletons[int(skeleton_id)] = skeleton
 
+        warn(
+            "Skeleton representations contained some unknown treenode->connector relation IDs:\n\t"
+            "\n\t".join(sorted(warnings))
+        )
+
         return {"skeletons": skeletons}
+
+    def get_relation_identifier(self):
+        return RelationIdentifier(self._catmaid)
diff --git a/catpy/applications/relation_identifier.py b/catpy/applications/relation_identifier.py
new file mode 100644
index 0000000..376fa61
--- /dev/null
+++ b/catpy/applications/relation_identifier.py
@@ -0,0 +1,88 @@
+from collections import defaultdict
+
+from catpy.client import ConnectorRelation
+from catpy.applications import CatmaidClientApplication
+
+
+class RelationIdentifier(CatmaidClientApplication):
+    """Class to convert connector relation IDs to ConnectorRelation enums and back.
+
+    The mappings are cached on the class, and so do not need to be re-fetched for new instances.
+
+    The mappings are retrieved on a per-project basis.
+    """
+    id_to_relation = defaultdict(dict)
+    relation_to_id = defaultdict(dict)
+
+    def _check_pid(self):
+        if self.project_id is None:
+            raise RuntimeError("No project ID defined; cannot get relation name-id mappings")
+        else:
+            return self.project_id
+
+    def _fetch_mappings(self, project_id):
+        return self.get((project_id, 'connectors', 'types'))
+
+    def populate_mappings(self, project_id):
+        """Populate the id-relation mappings cache for the given project"""
+        if isinstance(self, type):
+            raise ValueError("Cannot populate relation ID mappings as a class method")
+
+        id_to_rel = dict()
+        rel_to_id = dict()
+        for obj in self._fetch_mappings(project_id):
+            rel = ConnectorRelation[obj["relation"]]
+            rel_id = obj["relation_id"]
+
+            id_to_rel[rel_id] = rel
+            rel_to_id[rel] = rel_id
+
+        type(self).id_to_relation[project_id] = id_to_rel
+        type(self).relation_to_id[project_id] = rel_to_id
+
+    def _get_dict(self, is_relation, project_id):
+        project_id = project_id or self._check_pid()
+        d = (self.id_to_relation, self.relation_to_id)[is_relation]
+        if project_id not in d:
+            self.populate_mappings(project_id)
+        return d[project_id]
+
+    def from_id(self, relation_id, project_id=None):
+        """
+        Return the ConnectorRelation for the given relation ID.
+        If ``project_id`` is given and you know this project's mappings are already populated
+        (possibly via a different instance),
+        this can be used as a class method.
+
+        Parameters
+        ----------
+        relation_id
+        project_id
+
+        Returns
+        -------
+        ConnectorRelation
+        """
+        if relation_id == -1:
+            return ConnectorRelation.other
+        return self._get_dict(False, project_id)[relation_id]
+
+    def to_id(self, relation, project_id=None):
+        """
+        Return the integer ID for the given ConnectorRelation.
+        If ``project_id`` is given and you know this project's mappings are already populated,
+        (possibly via a different instance
+        this can be used as a class method.
+
+        Parameters
+        ----------
+        relation
+        project_id
+
+        Returns
+        -------
+        int
+        """
+        if relation == ConnectorRelation.other:
+            return -1
+        return self._get_dict(True, project_id)[relation]
diff --git a/catpy/client.py b/catpy/client.py
index 10379e5..385a9ce 100644
--- a/catpy/client.py
+++ b/catpy/client.py
@@ -8,22 +8,97 @@ from abc import ABCMeta, abstractmethod
 from warnings import warn
 
 from six import string_types, add_metaclass
-from enum import IntEnum
+from enum import IntEnum, Enum
 import requests
 import numpy as np
 
 
+class ConnectorRelationType(Enum):
+    SYNAPTIC = "Synaptic"
+    GAP_JUNCTION = "Gap junction"
+    ABUTTING = "Abutting"
+    ATTACHMENT = "Attachment"
+    SPATIAL = "Spatial"
+    OTHER = ""
+
+    @classmethod
+    def from_relation(cls, relation):
+        return {
+            ConnectorRelation.presynaptic_to: cls.SYNAPTIC,
+            ConnectorRelation.postsynaptic_to: cls.SYNAPTIC,
+            ConnectorRelation.gapjunction_with: cls.GAP_JUNCTION,
+            ConnectorRelation.abutting: cls.ABUTTING,
+            ConnectorRelation.attached_to: cls.ATTACHMENT,
+            ConnectorRelation.close_to: cls.SPATIAL,
+            ConnectorRelation.other: cls.OTHER
+        }[relation]
+
+
+class ConnectorRelation(Enum):
+    """Enum describing the link between a treenode and connector, i.e. the treenode is ____ to the connector.
+
+    The enum's ``name`` is CATMAID's concept of "relation name":
+    what is returned in the ``relation`` field of the <pid>/connectors/types/ response.
+
+    The enum's ``value`` is the ``name`` field of the <pid>/connectors/types/ response.
+
+    The mappings from relation name to relation ID are project-specific and must be fetched from CATMAID.
+    """
+    other = ""
+    presynaptic_to = "Presynaptic"
+    postsynaptic_to = "Postsynaptic"
+    gapjunction_with = "Gap junction"
+    abutting = "Abutting"
+    attached_to = "Attachment"
+    close_to = "Close to"
+
+    @property
+    def type(self):
+        return ConnectorRelationType.from_relation(self)
+
+    @property
+    def is_synaptic(self):
+        return self.type == ConnectorRelationType.SYNAPTIC
+
+    def __str__(self):
+        return self.value
+
+
 class StackOrientation(IntEnum):
+    """Can be iterated over or indexed like the lower-case string representation of the orientation"""
     XY = 0
     XZ = 1
     ZY = 2
 
+    def __str__(self):
+        return self.name.lower()
+
+    @classmethod
+    def from_str(cls, s):
+        return {o.name: o for o in StackOrientation}[s.upper()]
 
-orientation_strs = {
-    StackOrientation.XY: 'xy',
-    StackOrientation.XZ: 'xz',
-    StackOrientation.ZY: 'zy'
-}
+    @classmethod
+    def from_value(cls, value, default='xy'):
+        """Convert an int, str or StackOrientation into a StackOrientation.
+        A NoneType ``value`` will use the default orientation."""
+        if value is None:
+            value = default
+
+        if isinstance(value, string_types):
+            return cls.from_str(value)
+        elif isinstance(value, int):
+            return cls(value)
+        else:
+            raise TypeError("Cannot create a StackOrientation from {}".format(type(value).__name__))
+
+    def __iter__(self):
+        return iter(str(self))
+
+    def __getitem__(self, item):
+        return str(self)[item]
+
+    def __contains__(self, item):
+        return item in str(self)
 
 
 def make_url(base_url, *args):
@@ -334,7 +409,7 @@ class CoordinateTransformer(object):
                 StackOrientation
                 int corresponding to StackOrientation
                 'xy', 'xz', or 'zy'
-                None (reverts to default)
+                None (reverts to default 'xy')
             Default StackOrientation.XY
         scale_z : bool
             Whether or not to scale z coordinates when using stack_to_scaled* methods. Default False is recommended, but
@@ -349,7 +424,7 @@ class CoordinateTransformer(object):
         self.translation = {dim: translation.get(dim, 0) for dim in 'zyx'}
         self.scale_z = scale_z
 
-        self.orientation = self._validate_orientation(orientation)
+        self.orientation = StackOrientation.from_value(orientation)
         self.depth_dim = [dim for dim in 'zyx' if dim not in self.orientation][0]
 
         # mapping of project dimension to stack dimension, based on orientation
@@ -361,16 +436,6 @@ class CoordinateTransformer(object):
         # mapping of stack dimension to project dimension, based on orientation
         self._p2s = {value: key for key, value in self._s2p.items()}
 
-    def _validate_orientation(self, orientation):
-        if orientation is None:
-            orientation = StackOrientation.XY
-        orientation = orientation_strs.get(orientation, orientation)
-        lower = orientation.lower()
-        if lower not in orientation_strs.values():
-            raise ValueError("orientation must be a StackOrientation, 'xy', 'xz', or 'zy'")
-
-        return lower
-
     @classmethod
     def from_catmaid(cls, catmaid_client, stack_id):
         """
diff --git a/catpy/image.py b/catpy/image.py
index cd25378..fe3e27c 100644
--- a/catpy/image.py
+++ b/catpy/image.py
@@ -23,7 +23,7 @@ import requests
 from requests_futures.sessions import FuturesSession
 
 from catpy import CoordinateTransformer
-
+from catpy.client import StackOrientation
 
 logger = logging.getLogger()
 
@@ -96,11 +96,28 @@ DEFAULT_ROI_MODE = ROIMode.STACK
 
 
 class TileSourceType(IntEnum):
+    """https://catmaid.readthedocs.io/en/stable/tile_sources.html"""
     FILE_BASED = 1
+    REQUEST_QUERY = 2
+    HDF5 = 3
     FILE_BASED_WITH_ZOOM_DIRS = 4
     DIR_BASED = 5
+    DVID_IMAGEBLK = 6
     RENDER_SERVICE = 7
+    DVID_IMAGETILE = 8
     FLIXSERVER = 9
+    H2N5_TILES = 10
+
+    def format(self, **kwargs):
+        try:
+            format_url = format_urls[self]
+        except KeyError:
+            raise ValueError(
+                "{} is not supported by TileFetcher, supported types are below:\n\t{}".format(
+                    self, '\n\t'.join(str(k) for k in sorted(format_urls))
+                )
+            )
+        return format_url.format(**kwargs)
 
 
 format_urls = {
@@ -267,7 +284,7 @@ class StackMirror(object):
         self.title = str(title)
         self.position = int(position)
 
-        self.format_url = format_urls[self.tile_source_type].format(**self.__dict__)
+        self.format_url = self.tile_source_type.format(**self.__dict__)
 
     def generate_url(self, tile_index):
         """
@@ -421,7 +438,7 @@ class ProjectStack(Stack):
         super(ProjectStack, self).__init__(dimension, broken_slices, canary_location)
         self.translation = translation
         self.resolution = resolution
-        self.orientation = orientation
+        self.orientation = StackOrientation.from_value(orientation)
 
     @classmethod
     def from_stack_info(cls, stack_info):
@@ -438,7 +455,7 @@ class ProjectStack(Stack):
         """
         stack = cls(
             stack_info['dimension'], stack_info['translation'], stack_info['resolution'],
-            cls.orientation_choices[stack_info['orientation']], stack_info['broken_slices'],
+            stack_info['orientation'], stack_info['broken_slices'],
             stack_info['canary_location']
         )
         mirrors = [StackMirror.from_dict(d) for d in stack_info['mirrors']]
@@ -865,7 +882,7 @@ class ImageFetcher(object):
         if roi_mode == ROIMode.PROJECT:
             if not isinstance(self.stack, ProjectStack):
                 raise ValueError("ImageFetcher's stack is not related to a project, cannot use ROIMode.PROJECT")
-            if self.stack.orientation.lower() != 'xy':
+            if self.stack.orientation != StackOrientation.XY:
                 warn("Stack orientation differs from project: returned array's orientation will reflect"
                      "stack orientation, not project orientation")
             roi_tgt = self.coord_trans.project_to_stack_array(roi_tgt, dims=self.target_orientation)

diff --git a/tests/common.py b/tests/common.py
new file mode 100644
index 0000000..b2552d2
--- /dev/null
+++ b/tests/common.py
@@ -0,0 +1,54 @@
+try:
+    from mock import Mock
+except ImportError:
+    from unittest.mock import Mock
+
+from catpy.applications.relation_identifier import RelationIdentifier
+
+import pytest
+
+
+@pytest.fixture
+def connectors_types():
+    return [
+        {
+            'name': 'Presynaptic',
+            'type': 'Synaptic',
+            'relation': 'presynaptic_to',
+            'relation_id': 0
+        }, {
+            'name': 'Postsynaptic',
+            'type': 'Synaptic',
+            'relation': 'postsynaptic_to',
+            'relation_id': 1
+        }, {
+            'name': 'Abutting',
+            'type': 'Abutting',
+            'relation': 'abutting',
+            'relation_id': 3
+        }, {
+            'name': 'Gap junction',
+            'type': 'Gap junction',
+            'relation': 'gapjunction_with',
+            'relation_id': 2
+        }, {
+            'name': 'Attachment',
+            'type': 'Attachment',
+            'relation': 'attached_to',
+            'relation_id': 4
+        }, {
+            'name': 'Close to',
+            'type': 'Spatial',
+            'relation': 'close_to',
+            'relation_id': 5
+        }
+    ]
+
+
+@pytest.fixture
+def relation_identifier(connectors_types):
+    catmaid = Mock()
+    catmaid.project_id = 1
+    relid = RelationIdentifier(catmaid)
+    relid._fetch_mappings = Mock(return_value=connectors_types)
+    return relid
diff --git a/tests/test_export.py b/tests/test_export.py
index 5e49e1d..aa19a66 100644
--- a/tests/test_export.py
+++ b/tests/test_export.py
@@ -15,6 +15,7 @@ except ImportError:
     from mock import Mock
 
 from tests.constants import FIXTURE_ROOT
+from tests.common import connectors_types, relation_identifier  # noqa
 
 
 nx_version = tuple(int(i) for i in nx.__version__.split('.'))
@@ -46,11 +47,13 @@ def expected_graph():
         return json_graph.node_link_graph(json.load(f))
 
 
-@pytest.fixture
-def export_widget():
+@pytest.fixture  # noqa
+def export_widget(relation_identifier):
     catmaid = Mock()
     catmaid.project_id = 1
-    return ExportWidget(catmaid)
+    exp = ExportWidget(catmaid)
+    exp.get_relation_identifier = Mock(return_value=relation_identifier)
+    return exp
 
 
 def test_reads_nodelinks(nodelink_json, export_widget, expected_graph):
diff --git a/tests/test_image.py b/tests/test_image.py
index b73fa41..eac5673 100644
--- a/tests/test_image.py
+++ b/tests/test_image.py
@@ -237,7 +237,7 @@ def test_stackmirror_corrects_file_extension():
     assert mirror_dot.file_extension == mirror_no_dot.file_extension == 'png'
 
 
-@pytest.mark.parametrize('tile_source_type', list(TileSourceType))
+@pytest.mark.parametrize('tile_source_type', format_urls.keys())
 def test_stackmirror_formats_url(tile_source_type):
     mirror = StackMirror(IMAGE_BASE, 256, 256, tile_source_type, 'png')
     tile_idx = TileIndex(0, 0, 0, 0, 256, 256)
diff --git a/tests/test_relation_identifier.py b/tests/test_relation_identifier.py
new file mode 100644
index 0000000..7370a6c
--- /dev/null
+++ b/tests/test_relation_identifier.py
@@ -0,0 +1,11 @@
+from catpy.client import ConnectorRelation
+
+from tests.common import relation_identifier, connectors_types  # noqa
+
+
+def test_from_id(relation_identifier):  # noqa
+    assert relation_identifier.from_id(0) == ConnectorRelation.presynaptic_to
+
+
+def test_to_id(relation_identifier):  # noqa
+    assert relation_identifier.to_id(ConnectorRelation.presynaptic_to) == 0
diff --git a/tests/test_utils/test_coordinate_transformer.py b/tests/test_utils/test_coordinate_transformer.py
index 8d8128c..8a0f5c1 100644
--- a/tests/test_utils/test_coordinate_transformer.py
+++ b/tests/test_utils/test_coordinate_transformer.py
@@ -225,14 +225,14 @@ def test_stack_to_scaled_array(coordinate_generator, default_coord_transformer,
 ])
 def test_can_validate_orientation_valid(orientation):
     trans = CoordinateTransformer(orientation=orientation)
-    assert trans.orientation == 'xy'
+    assert trans.orientation == StackOrientation.XY
     assert trans.depth_dim == 'z'
 
 
 @pytest.mark.parametrize('orientation,expected_exception', [
-    [3, AttributeError],
-    ['xyz', ValueError],
-    ['xc', ValueError]
+    [3, ValueError],
+    ['xyz', KeyError],
+    ['xc', KeyError]
 ])
 def test_can_validate_orientation_invalid(orientation, expected_exception):
     with pytest.raises(expected_exception):

IntEnums
For connector relation types, because I'm bored of writing it in dependent projects.

Should probably also fill out the catpy.image.TileSourceType one, for completeness.
tests/test_export.py::test_reads_nodelinks[1-11] tests/test_export.py::test_converts tests/test_export.py::test_fails_to_convert tests/test_image.py::test_vol_maker[0-shape0-1] tests/test_image.py::test_vol_maker[1-shape1-2] tests/test_image.py::test_vol_maker[0-shape2-10] tests/test_image.py::test_vol_maker[0-shape3-46] tests/test_image.py::test_vol_maker[1-shape4-47] tests/test_image.py::test_response_to_array_png[L] tests/test_image.py::test_response_to_array_png[RGB] tests/test_image.py::test_response_to_array_png[RGBA] tests/test_image.py::test_response_to_array_jpeg[L] tests/test_image.py::test_response_to_array_jpeg[RGB] tests/test_image.py::test_predefined_format_urls_are_valid[TileSourceType.FILE_BASED-{image_base}{{depth}}/{{row}}_{{col}}_{{zoom_level}}.{file_extension}] tests/test_image.py::test_predefined_format_urls_are_valid[TileSourceType.FILE_BASED_WITH_ZOOM_DIRS-{image_base}{{depth}}/{{zoom_level}}/{{row}}_{{col}}.{file_extension}] tests/test_image.py::test_predefined_format_urls_are_valid[TileSourceType.DIR_BASED-{image_base}{{zoom_level}}/{{depth}}/{{row}}/{{col}}.{file_extension}] tests/test_image.py::test_predefined_format_urls_are_valid[TileSourceType.RENDER_SERVICE-{image_base}largeDataTileSource/{tile_width}/{tile_height}/{{zoom_level}}/{{depth}}/{{row}}/{{col}}.{file_extension}] tests/test_image.py::test_predefined_format_urls_are_valid[TileSourceType.FLIXSERVER-{image_base}{{depth}}/{{row}}_{{col}}_{{zoom_level}}.{file_extension}] tests/test_image.py::test_as_future_for_not_future tests/test_image.py::test_as_future_for_future tests/test_image.py::test_fill_tiled_cuboid tests/test_image.py::test_fill_tiled_cuboid_raises tests/test_image.py::test_dict_subtract_mismatched_keys tests/test_image.py::test_dict_subtract tests/test_image.py::test_tile_index_coords tests/test_image.py::test_tile_index_comparable[zoom_level] tests/test_image.py::test_tile_index_comparable[height] tests/test_image.py::test_tile_index_comparable[width] tests/test_image.py::test_tile_index_url_kwargs tests/test_image.py::test_stackmirror_corrects_image_base tests/test_image.py::test_stackmirror_corrects_file_extension tests/test_image.py::test_stackmirror_formats_url[TileSourceType.FILE_BASED] tests/test_image.py::test_stackmirror_formats_url[TileSourceType.FILE_BASED_WITH_ZOOM_DIRS] tests/test_image.py::test_stackmirror_formats_url[TileSourceType.DIR_BASED] tests/test_image.py::test_stackmirror_formats_url[TileSourceType.RENDER_SERVICE] tests/test_image.py::test_stackmirror_formats_url[TileSourceType.FLIXSERVER] tests/test_image.py::test_stackmirror_raises_on_incompatible_tile_index tests/test_image.py::test_stackmirror_get_tile_index tests/test_image.py::test_stack_sets_broken_slices_canary tests/test_image.py::test_stack_fastest_mirror_calls_get tests/test_image.py::test_stack_fastest_mirror_raises tests/test_image.py::test_tilecache_can_set tests/test_image.py::test_tilecache_set_refreshes_old tests/test_image.py::test_tilecache_can_get tests/test_image.py::test_tilecache_lru tests/test_image.py::test_tilecache_can_clear tests/test_image.py::test_tilecache_can_constrain_len tests/test_image.py::test_tilecache_can_constrain_bytes tests/test_image.py::test_imagefetcher_can_instantiate tests/test_image.py::test_imagefetcher_mirror_fallback_warning tests/test_image.py::test_imagefetcher_set_mirror_none tests/test_image.py::test_imagefetcher_set_mirror_mirror tests/test_image.py::test_imagefetcher_set_mirror_mirror_raises tests/test_image.py::test_imagefetcher_set_mirror_int tests/test_image.py::test_imagefetcher_set_mirror_int_as_str tests/test_image.py::test_imagefetcher_set_mirror_position_warns_no_match tests/test_image.py::test_imagefetcher_set_mirror_position_warns_too_many tests/test_image.py::test_imagefetcher_set_mirror_title tests/test_image.py::test_imagefetcher_set_mirror_title_warns_no_match tests/test_image.py::test_imagefetcher_set_mirror_title_warns_too_many tests/test_image.py::test_imagefetcher_get_auth_default tests/test_image.py::test_imagefetcher_get_auth_from_mirror tests/test_image.py::test_imagefetcher_get_auth_fallback tests/test_image.py::test_imagefetcher_clear_cache tests/test_image.py::test_imagefetcher_map_dimensions tests/test_image.py::test_imagefetcher_reorient tests/test_image.py::test_imagefetcher_reorient_expands tests/test_image.py::test_imagefetcher_reorient_throws tests/test_image.py::test_imagefetcher_roi_to_tiles[roi0-expected_drc0-expected_yx_minmax0] tests/test_image.py::test_imagefetcher_roi_to_tiles[roi1-expected_drc1-expected_yx_minmax1] tests/test_image.py::test_imagefetcher_roi_to_tiles[roi2-expected_drc2-expected_yx_minmax2] tests/test_image.py::test_imagefetcher_roi_to_tiles[roi3-expected_drc3-expected_yx_minmax3] tests/test_image.py::test_imagefetcher_roi_to_tiles[roi4-expected_drc4-expected_yx_minmax4] tests/test_image.py::test_imagefetcher_roi_to_scaled[ImageFetcher-scaled-0-expected0] tests/test_image.py::test_imagefetcher_roi_to_scaled[ImageFetcher-stack-0-expected1] tests/test_image.py::test_imagefetcher_roi_to_scaled[ImageFetcher-stack--2-expected2] tests/test_image.py::test_imagefetcher_roi_to_scaled[ImageFetcher-stack-1-expected3] tests/test_image.py::test_imagefetcher_roi_to_scaled[ImageFetcher-project-0-expected4] tests/test_image.py::test_imagefetcher_roi_to_scaled[ImageFetcher-project--2-expected5] tests/test_image.py::test_imagefetcher_roi_to_scaled[ImageFetcher-project-1-expected6] tests/test_image.py::test_imagefetcher_roi_to_scaled[ThreadedImageFetcher-scaled-0-expected0] tests/test_image.py::test_imagefetcher_roi_to_scaled[ThreadedImageFetcher-stack-0-expected1] tests/test_image.py::test_imagefetcher_roi_to_scaled[ThreadedImageFetcher-stack--2-expected2] tests/test_image.py::test_imagefetcher_roi_to_scaled[ThreadedImageFetcher-stack-1-expected3] tests/test_image.py::test_imagefetcher_roi_to_scaled[ThreadedImageFetcher-project-0-expected4] tests/test_image.py::test_imagefetcher_roi_to_scaled[ThreadedImageFetcher-project--2-expected5] tests/test_image.py::test_imagefetcher_roi_to_scaled[ThreadedImageFetcher-project-1-expected6] tests/test_image.py::test_imagefetcher_roi_to_scaled_raises[ImageFetcher] tests/test_image.py::test_imagefetcher_roi_to_scaled_raises[ThreadedImageFetcher] tests/test_image.py::test_imagefetcher_get[ImageFetcher-roi0-1] tests/test_image.py::test_imagefetcher_get[ImageFetcher-roi1-2] tests/test_image.py::test_imagefetcher_get[ImageFetcher-roi2-1] tests/test_image.py::test_imagefetcher_get[ImageFetcher-roi3-2] tests/test_image.py::test_imagefetcher_get[ImageFetcher-roi4-2] tests/test_image.py::test_imagefetcher_get[ImageFetcher-roi5-4] tests/test_image.py::test_imagefetcher_get[ImageFetcher-roi6-12] tests/test_image.py::test_imagefetcher_get[ThreadedImageFetcher-roi0-1] tests/test_image.py::test_imagefetcher_get[ThreadedImageFetcher-roi1-2] tests/test_image.py::test_imagefetcher_get[ThreadedImageFetcher-roi2-1] tests/test_image.py::test_imagefetcher_get[ThreadedImageFetcher-roi3-2] tests/test_image.py::test_imagefetcher_get[ThreadedImageFetcher-roi4-2] tests/test_image.py::test_imagefetcher_get[ThreadedImageFetcher-roi5-4] tests/test_image.py::test_imagefetcher_get[ThreadedImageFetcher-roi6-12] tests/test_image.py::test_imagefetcher_get_into_array[ImageFetcher] tests/test_image.py::test_imagefetcher_get_into_array[ThreadedImageFetcher] tests/test_image.py::test_imagefetcher_get_tile_from_cache[ImageFetcher] tests/test_image.py::test_imagefetcher_get_tile_from_cache[ThreadedImageFetcher] tests/test_image.py::test_imagefetcher_get_tile_from_broken_slice[ImageFetcher] tests/test_image.py::test_imagefetcher_get_tile_from_broken_slice[ThreadedImageFetcher] tests/test_image.py::test_imagefetcher_get_tile_from_fetch tests/test_image.py::test_imagefetcher_fetch tests/test_image.py::test_imagefetcher_get_wrappers[stack] tests/test_image.py::test_imagefetcher_get_wrappers[scaled] tests/test_image.py::test_imagefetcher_get_wrappers[project] tests/test_image.py::test_404_handled_correctly tests/test_relation_identifier.py::test_from_id tests/test_relation_identifier.py::test_to_id tests/test_utils/test_coordinate_transformer.py::test_instantiate[<lambda>-<lambda>] tests/test_utils/test_coordinate_transformer.py::test_from_catmaid tests/test_utils/test_coordinate_transformer.py::test_project_to_stack_coord[x] tests/test_utils/test_coordinate_transformer.py::test_project_to_stack_coord[y] tests/test_utils/test_coordinate_transformer.py::test_project_to_stack_coord[z] tests/test_utils/test_coordinate_transformer.py::test_stack_to_project_coord[x] tests/test_utils/test_coordinate_transformer.py::test_stack_to_project_coord[y] tests/test_utils/test_coordinate_transformer.py::test_stack_to_project_coord[z] tests/test_utils/test_coordinate_transformer.py::test_stack_to_project_and_project_to_stack[stack_to_project] tests/test_utils/test_coordinate_transformer.py::test_stack_to_project_and_project_to_stack[project_to_stack] tests/test_utils/test_coordinate_transformer.py::test_arrays[stack_to_project-dims0] tests/test_utils/test_coordinate_transformer.py::test_arrays[stack_to_project-dims1] tests/test_utils/test_coordinate_transformer.py::test_arrays[stack_to_project-dims2] tests/test_utils/test_coordinate_transformer.py::test_arrays[stack_to_project-dims3] tests/test_utils/test_coordinate_transformer.py::test_arrays[stack_to_project-dims4] tests/test_utils/test_coordinate_transformer.py::test_arrays[stack_to_project-dims5] tests/test_utils/test_coordinate_transformer.py::test_arrays[project_to_stack-dims0] tests/test_utils/test_coordinate_transformer.py::test_arrays[project_to_stack-dims1] tests/test_utils/test_coordinate_transformer.py::test_arrays[project_to_stack-dims2] tests/test_utils/test_coordinate_transformer.py::test_arrays[project_to_stack-dims3] tests/test_utils/test_coordinate_transformer.py::test_arrays[project_to_stack-dims4] tests/test_utils/test_coordinate_transformer.py::test_arrays[project_to_stack-dims5] tests/test_utils/test_coordinate_transformer.py::test_stack_to_scaled_coord[x] tests/test_utils/test_coordinate_transformer.py::test_stack_to_scaled_coord[y] tests/test_utils/test_coordinate_transformer.py::test_stack_to_scaled_coord[z] tests/test_utils/test_coordinate_transformer.py::test_stack_to_scaled_coord_z tests/test_utils/test_coordinate_transformer.py::test_stack_to_scaled[True] tests/test_utils/test_coordinate_transformer.py::test_stack_to_scaled[False] tests/test_utils/test_coordinate_transformer.py::test_stack_to_scaled_array[dims0-True] tests/test_utils/test_coordinate_transformer.py::test_stack_to_scaled_array[dims0-False] tests/test_utils/test_coordinate_transformer.py::test_stack_to_scaled_array[dims1-True] tests/test_utils/test_coordinate_transformer.py::test_stack_to_scaled_array[dims1-False] tests/test_utils/test_coordinate_transformer.py::test_stack_to_scaled_array[dims2-True] tests/test_utils/test_coordinate_transformer.py::test_stack_to_scaled_array[dims2-False] tests/test_utils/test_coordinate_transformer.py::test_stack_to_scaled_array[dims3-True] tests/test_utils/test_coordinate_transformer.py::test_stack_to_scaled_array[dims3-False] tests/test_utils/test_coordinate_transformer.py::test_stack_to_scaled_array[dims4-True] tests/test_utils/test_coordinate_transformer.py::test_stack_to_scaled_array[dims4-False] tests/test_utils/test_coordinate_transformer.py::test_stack_to_scaled_array[dims5-True] tests/test_utils/test_coordinate_transformer.py::test_stack_to_scaled_array[dims5-False] tests/test_utils/test_coordinate_transformer.py::test_can_validate_orientation_valid[XY] tests/test_utils/test_coordinate_transformer.py::test_can_validate_orientation_valid[xy0] tests/test_utils/test_coordinate_transformer.py::test_can_validate_orientation_valid[0] tests/test_utils/test_coordinate_transformer.py::test_can_validate_orientation_valid[xy1] tests/test_utils/test_coordinate_transformer.py::test_can_validate_orientation_valid[None] tests/test_utils/test_coordinate_transformer.py::test_can_validate_orientation_invalid[3-ValueError] tests/test_utils/test_coordinate_transformer.py::test_can_validate_orientation_invalid[xyz-KeyError] tests/test_utils/test_coordinate_transformer.py::test_can_validate_orientation_invalid[xc-KeyError] tests/test_utils/test_coordinate_transformer.py::test_project_to_stack_orientation_xy[XY-project_to_stack-expected0] tests/test_utils/test_coordinate_transformer.py::test_project_to_stack_orientation_xy[XY-stack_to_project-expected1] tests/test_utils/test_coordinate_transformer.py::test_project_to_stack_orientation_xy[XZ-project_to_stack-expected2] tests/test_utils/test_coordinate_transformer.py::test_project_to_stack_orientation_xy[XZ-stack_to_project-expected3] tests/test_utils/test_coordinate_transformer.py::test_project_to_stack_orientation_xy[ZY-project_to_stack-expected4] tests/test_utils/test_coordinate_transformer.py::test_project_to_stack_orientation_xy[ZY-stack_to_project-expected5]