quantumjot / btrack

Bayesian multi-object tracking
https://btrack.readthedocs.io
MIT License
312 stars 49 forks source link

Cannot load tracks due to track write not exporting dummy objects #310

Closed nthndy closed 1 year ago

nthndy commented 1 year ago

The fix for this previous issue (#194) seems to have disappeared from the latest release. The fix was to simply put a list() around itertools.chain.from_iterable([trk._data for trk in data]) here: https://github.com/quantumjot/btrack/blob/6cbd357ce0e0450d6a65a5bbdd3d04c266aa3058/btrack/io/hdf.py#L512-L514

quantumjot commented 1 year ago

Do you want to go ahead and fix this Nathan?