Feature/loader support idtracker#944
Feature/loader support idtracker#944ParthChatupale wants to merge 1 commit intoneuroinformatics-unit:mainfrom
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #944 +/- ##
===========================================
- Coverage 100.00% 99.92% -0.08%
===========================================
Files 39 39
Lines 2678 2722 +44
===========================================
+ Hits 2678 2720 +42
- Misses 0 2 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
e984561 to
331a097
Compare
loader/Addition of validatorClass and load_functionallity Logger Info Added feat : idtracker tests added feat : optional : probablities logic fixed feat : updated expectations feat : strings seprated
331a097 to
a93e6fa
Compare
|
|
Hello, SonarCloud is currently flagging my "idtracker.ai" additions as "magic string" errors. I noticed the codebase deliberately uses explicit string literals (like "DeepLabCut" and "SLEAP") throughout this file. To keep my code consistent with the existing design pattern and Python's Literal constraints, I matched that style instead of creating a new constant. Would you prefer me to add a # noqa or Sonar suppression tag for these specific lines, or is there another workaround the project prefers for this? |



Description
What is this PR
Why is this PR needed?
This PR introduces I/O support for idtracker.ai, marking the first phase of integrating "centroid" tracking formats into movement (as discussed in #308). This enhances the library's data ingestion capabilities by empowering users to seamlessly bring idtracker trajectories directly into the movement ecosystem for filtering, processing, and analysis. Additionally, this work directly supports the project's newly published 2026 Roadmap goals, specifically the initiative to expand format support and validate the documented process for adding new loaders.
What does this PR do?
This PR implements the first phase of the idtracker.ai .h5 loader. Specifically, it:
References
#308 #349
How has this PR been tested?
I added new h5py and pytest fixtures in tests/fixtures/files.py and tests/test_unit/test_io/test_load_poses.py.
Is this a breaking change?
No. This PR strictly adds new I/O functionality and does not modify any existing loaders or core data structures.
Does this PR require an update to the documentation?
Does this PR require an update to the documentation?
Yes. I have added inline docstrings for the new functions. (Note: Further API references and user-facing examples will be finalized in Phase 2 of the idtracker integration roadmap).
Checklist: