Skip to content

v2.0.0

Compare
Choose a tag to compare
@andy-sweet andy-sweet released this 15 Feb 19:57
· 417 commits to main since this release
79825da

This version of the Python API represents a breaking change from v1, which was mostly needed to accommodate handling multiple annotation types and formats. See more details below.

What's New

  • Added AnnotationFile to allow multiple annotation files in Annotation.files.
  • Added TomogramAuthor to describe multiple authors in Tomogram.authors.
  • Dataset
    • Added cell_component_name and cell_component_id.
    • Added key_photo_url and key_photo_thumbnail_url.
  • DatasetAuthor
    • Added author_list_order.
  • Tomogram
    • Added key_photo_url and key_photo_thumbnail_url.
    • Added offset_x, offset_y, and offset_z.
    • Added affine_transformation_matrix.
    • Added type.
    • Added neuroglancer_config.
  • Annotation
    • Added shape and format arguments to Annotation.download.

Breaking Changes

  • Tomogram
    • Removed downsampled MRC volume URLs: https_mrc_scale1, https_mrc_scale2, s3_mrc_scale1, s3_mrc_scale2.
    • Removed binning keyword argument from Tomogram.download_mrcfile.
  • Annotation
    • Removed annotation path URLs:https_annotations_path, s3_annotations_path and moved to AnnotationFile.https_path and AnnotationFile.s3_path.
    • Removed shape_type and moved to AnnotationFile.
    • Removed object_width, object_weight, and object_diameter.

Full changelog: v1.0.1...v2.0.0