neuroinformatics-unit / movement

Python tools for analysing body movements across space and time
http://movement.neuroinformatics.dev
BSD 3-Clause "New" or "Revised" License
96 stars 8 forks source link

Add example to convert file formats and changing keypoints #304

Open Lauraschwarz opened 2 weeks ago

Lauraschwarz commented 2 weeks ago

Before submitting a pull request (PR), please read the contributing guide.

Please fill out as much of this template as you can, but if you have any problems or questions, just leave a comment and we will help out :)

Description

What is this PR this PR adds functions to rename, delete and re-order keypoints in your pose-estimation files.

Why is this PR needed? It just adds flexibility to your pose-estimation files. sometimes you would like to rename or delete keypoints without having to go through the entire prediction process of DLC or SLEAP What does this PR do? it adds functions to rename, re-order and delete keypoints in you post processing

How has this PR been tested?

locally on my own data. Please explain how any new code has been tested, and how you have ensured that no existing functionality has changed. it is additional functionality and does not change any of the functionality that currently exists.

Is this a breaking change?

no

Does this PR require an update to the documentation?

no (it is in itself an update to the docs)

Checklist:

codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 99.77%. Comparing base (a98ff45) to head (637ce0c). Report is 4 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #304 +/- ## ======================================= Coverage 99.77% 99.77% ======================================= Files 14 15 +1 Lines 883 887 +4 ======================================= + Hits 881 885 +4 Misses 2 2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

sonarcloud[bot] commented 1 week ago

Quality Gate Passed Quality Gate passed

Issues
2 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud