From 995beed6d1b00b7594b1c7a7e94f14a14621f2b6 Mon Sep 17 00:00:00 2001 From: Andi Gerken <andi.gerken@gmail.com> Date: Wed, 16 Jun 2021 17:02:40 +0200 Subject: [PATCH] Changes to resolve threads in the MR For gitlab: this MR close issue #8 --- src/robofish/io/file.py | 6 +++--- tests/robofish/io/test_entity.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/robofish/io/file.py b/src/robofish/io/file.py index fa31205..ce1de94 100644 --- a/src/robofish/io/file.py +++ b/src/robofish/io/file.py @@ -429,7 +429,7 @@ class File(h5py.File): details="We found that our calculation of 'poses_calc_ori' is flawed." "Please replace it with 'poses' and use the tracked orientation." "If you see this message and you don't know what to do, update all packages, " - "merge to the master branch of fish_models if nothing helps, contact Andi.\n" + "merge to the master branch of robofish.io if nothing helps, contact Andi.\n" "Don't ignore this warning, it's a serious issue.", ) def entity_poses_calc_ori(self): @@ -442,7 +442,7 @@ class File(h5py.File): details="We found that our calculation of 'poses_calc_ori_rad' is flawed." "Please replace it with 'poses_rad' and use the tracked orientation." "If you see this message and you don't know what to do, update all packages, " - "merge to the master branch of fish_models if nothing helps, contact Andi.\n" + "merge to the master branch of robofish.io if nothing helps, contact Andi.\n" "Don't ignore this warning, it's a serious issue.", ) def entity_poses_calc_ori_rad(self): @@ -458,7 +458,7 @@ class File(h5py.File): "with 'actions_speeds_turns'. The difference in calculation is, that the tracked " "orientation is used now which gives the fish the ability to swim backwards. " "If you see this message and you don't know what to do, update all packages, " - "merge to the master branch of fish_models if nothing helps, contact Andi.\n" + "merge to the master branch of robofish.io if nothing helps, contact Andi.\n" "Don't ignore this warning, it's a serious issue.", ) def entity_speeds_turns(self): diff --git a/tests/robofish/io/test_entity.py b/tests/robofish/io/test_entity.py index a3a6e61..0101aca 100644 --- a/tests/robofish/io/test_entity.py +++ b/tests/robofish/io/test_entity.py @@ -33,7 +33,7 @@ def test_entity_object(): def test_entity_turns_speeds(): """This test was created, when the turns and speeds where calculated from positions only. - There were issues witht the calculation of speeds and turns. The corresponding functions were set to be deprecated. + There were issues with the calculation of speeds and turns. The corresponding functions were set to be deprecated. This test was adapted to have plausible orientations which are used when the speeds and turns are calculated. The reconstructed track is not identical to the original track. The reson for this is unknown. TODO: Find the reason, why the reconstructed track differs -- GitLab