Closed jkbhagatio closed 2 months ago
CodeRabbit
The changes primarily focus on enhancing the PoseReader
class in the aeon/io/reader.py
file to handle different versions of Bonsai.Sleap (0.2 and 0.3). The modifications include adjustments in column names, data processing, error handling for different versions, and reordering of columns in the data frame. A new method class_int2str
has been introduced for converting class integers to strings based on the configuration file.
File | Summary |
---|---|
aeon/io/reader.py |
The PoseReader class has been updated to handle different versions of Bonsai.Sleap (0.2 and 0.3). This includes changes in column names, data processing, and error handling. The read method has been modified to handle identity likelihood data differently. A new method class_int2str has been added for converting class integers to strings. Columns are now processed and reordered differently in the data frame. |
Fixes #364 Fixes #365 Fixes #328 Fixes #308
Summary by CodeRabbit
PoseReader
class, enhancing compatibility with various data formats.PoseReader
class to ensure accurate and efficient reading of pose data.class_int2str
method within thePoseReader
class for better encapsulation and code organization.read
method, ensuring correct data interpretation and ordering.