Skip to content

Releases: openworm/tracker-commons

WCON for Python Beta Release 1.1.0

17 Apr 07:14
Compare
Choose a tag to compare

Features:

  • #82 - "zip" file extension support

Bug fixes:

  • #81 - setup instructions broken for Ubuntu
  • #86 - pip package missing schema file
  • #87 - bug with __add__ operation and multiple worms
  • #92 - save_to_file doesn't order dictionaries nested from lists

WCON for Python Beta Release 1.0.0

15 Mar 23:24
Compare
Choose a tag to compare

Also available at the Python Package Index https://pypi.python.org/pypi/wcon/1.0.0, so install via:

pip install wcon

Release notes (Python):

  • Performance improvements (#55) (see summary of performance below)
  • Changed internal representation of worms from a single DataFrame to an ordered dictionary of DataFrames, with the keys being the worm IDs. API has not changed; .data is now a lazily evaluated property, while .data_as_odict is a property that gives direct access to the internal representation. (#73)
  • Can read and write Zip files (#59)
  • Units support scalar multipliers (e.g. "0.04*s" are the units for frames 1,2,3 going at 25 FPS) (#66)
  • The schema for metadata allows more of what's actually allowed in the specification. (#53)
  • As with prior releases, this works for both Python 2.7 and 3.3+.

Python performance summary

File used for test: tracker-commons/tests/from_schafer_lab.wcon
Size: 59.3 MB (4641 frames, ~ 250 points x and 250 points y per frame)
Zipped size: 5.57 MB

Instruction Time (seconds) jsonschema.validate used? Cores used
WCONWorms.load_from_file 1.00 No 1
WCONWorms.load_from_file 74.29 Yes 1
WCONWorms.save_to_file 5.38 n/a 1

WCON for Python Alpha Release 0.3.0

15 Mar 23:25
Compare
Choose a tag to compare

Also available at the Python Package Index https://pypi.python.org/pypi/wcon/0.3.0, so install via:

pip install wcon

Release notes (Python):

  • Fixes centroid handling
  • Documentation examples are now unit tested for correctness
  • Matches the specification with respect to handling optional brackets in the JSON syntax
  • Schema is less restrictive to user-provided and metadata fields