fafbseg.flywire.set_default_annotation_version#

fafbseg.flywire.set_default_annotation_version(version)[source]#

Set the default annotation version for this session.

Alternatively, you can also use a FLYWIRE_DEFAULT_ANNOTATION_VERSION environment variable (must be set before starting Python).

Parameters:

version (str, optional) – Which version of the annotations to use. This should correspond to a tag (e.g. the “v2.0.0” release) or a branch of the annotation repository: https://github.com/flyconnectome/flywire_annotations. If None, will use the latest release in the main branch. Please see the annotation tutorial on readthedocs for details.

Examples

>>> from fafbseg import flywire
>>> flywire.set_default_annotation_version('v2.0.0')
Default annotation version set to tag "v2.0.0".