Skip to content

v1.4.0

Choose a tag to compare

@github-actions github-actions released this 18 Nov 11:39
· 17 commits to main since this release
4b0cca8

Added

  • Typed records: declare a Record and read frames with record= on read
    and iread, or batches as RecordBatch[R] on read_batch and
    iread_batch. Fields are statically typed, optional fields batch as filled
    arrays with batch.present(...).
  • Unions of records: record=A | B reads each frame as the member whose fields
    it carries; RecordBatch[A | B] holds every member's fields densely, with
    members, tags and where().
  • Schema rules take absent: omit: under project mode an absent optional
    field is left out of the frame instead of filled. Its type is exported as
    oxyz.Absent.
  • Executable README, guide and source-docstring examples checked by default with
    pytest, covering schemas, typed records, compressed/remote sources, converters
    and command-line workflows, with a local preview and guarded GitHub Pages
    deployment.
  • Portable repository skills for API selection, development and execution, with
    a local smoke tour covering typed records, union batches and optional converters.
  • Performance documentation with real-dataset and scaling figures, corresponding
    benchmark tables and an archived measurement snapshot for regeneration.

Changed

  • Projection promotes an integer value to float for a REAL rule, so an
    integer-valued Lattice no longer fails a project-mode schema; an integer
    above 2^53 loses precision in the conversion. Validate mode is unchanged.

Fixed

  • Constructed union batches default presence masks from each frame's tagged
    member.
  • Union batch reads report projection errors and unmatched frames in requested
    frame order, independent of batch size.
  • Documentation examples collect correctly when the checkout path contains a
    symbolic link.
  • Record fields named cls or self work in conversions, batch construction
    and indexing.
  • Batches with unsigned offsets support per-atom frame ids and reordered gathers.
  • Batch assembly errors report the source file's frame index, including selected
    frames and later streaming batches.

Internal

  • ty floor raised to 0.0.100.
  • Benchmark plots use website fonts, call-expression labels and output-matched
    comparisons, with compact measurement provenance. The published snapshot
    covers MAD full reads and dataset-size scaling.
  • Benchmark comparisons pin extxyz 0.4.6 and ase-extxyz 0.1.2.