Skip to content

aniread 0.5.0

Choose a tag to compare

@roaldarbol roaldarbol released this 24 Jun 12:47
· 22 commits to main since this release
0411861

New features

  • read_boris() imports behavioural events from a BORIS export into an aniframe::anievent(). It auto-detects the two flat-text BORIS exports — aggregated events (one row per bout) and tabular events (one row per START / STOP / POINT transition, paired into bouts by the reader). Channels come from BORIS's Behavioral category (falling back to "behavior"), state-vs-point type is preserved, and modifiers travel via a modifiers list-column in both the newer multi-column and legacy pipe-separated layouts. unit_time = "s" (default) reads the seconds columns; unit_time = "frame" uses the image-index columns to keep events row-aligned with a host aniframe. Closes #76.

Bug fixes

  • File validation no longer rejects readable files on Windows network (UNC) shares, where file.access() can report a false negative for read permission; the check now falls back to a non-destructive open attempt.

Dependencies

  • aniframe (>= 0.6.0) is now required, since read_boris() produces an anievent object — a new class added in aniframe 0.6.0.