Skip to content

v0.8.14

Compare
Choose a tag to compare
@fm3 fm3 released this 23 Sep 11:14
· 587 commits to master since this release
8d6a67a

wkcuber:

  • Adjust downsampling scheme to always try to minimize the scaled difference between the different dimensions of a mag and renamed the sampling mode auto to anisotropic. #391
  • Make parameter executor optional for View.for_each_chunk and View.for_zipped_chunks. #404
  • Add option to rename foreign layer with add_{symlink,copy}_layer. #419
  • Reverted that dataset.add_symlink_layer and dataset.add_copy_layer resolved the layer path if it was a symlink. #408

webknossos python package:

  • Breaking changes were introduced for geometry classes in #421:

    • BoundingBox

      • is now immutable, use convenience methods, e.g. bb.with_topleft((0,0,0))
      • properties topleft and size are now Vec3Int instead of np.array, they are each immutable as well
      • all to_-conversions return a copy, some were renamed:
      • to_arrayto_list
      • as_npto_np
      • as_wkwto_wkw_dict
      • from_wkwfrom_wkw_dict
      • as_configto_config_dict
      • as_checkpoint_nameto_checkpoint_name
      • as_tuple6to_tuple6
      • as_csvto_csv
      • as_named_tupleto_named_tuple
      • as_slicesto_slices
      • copy → (gone, immutable)
    • Mag

      • is now immutable
      • mag.mag is now mag._mag (considered private, use to_list instead if you really need it as list)
      • all to_-conversions return a copy, some were renamed:
      • to_arrayto_list
      • scale_by → (gone, immutable)
      • divide_by → (gone, immutable)
      • as_npto_np
  • An immutable Vec3Int class was introduced that holds three integers and provides a number of convenience methods and accessors. #421

  • BoundingBox and Mag are now immutable attr classes containing Vec3Int values. See breaking changes above.