From 5ce0ebd7a38df8073947ab93678c7e314d2ac058 Mon Sep 17 00:00:00 2001 From: Andi Gerken <andi.gerken@gmail.com> Date: Wed, 16 Jun 2021 17:11:26 +0200 Subject: [PATCH] Removed parts of the deprecation comments as suggested in the MR. --- src/robofish/io/file.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/robofish/io/file.py b/src/robofish/io/file.py index ce1de94..04f5ef5 100644 --- a/src/robofish/io/file.py +++ b/src/robofish/io/file.py @@ -428,8 +428,7 @@ class File(h5py.File): removed_in="1.2.4", 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 robofish.io if nothing helps, contact Andi.\n" + "If you see this message and you don't know what to do, update all packages and if nothing helps, contact Andi.\n" "Don't ignore this warning, it's a serious issue.", ) def entity_poses_calc_ori(self): @@ -441,8 +440,7 @@ class File(h5py.File): removed_in="1.2.4", 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 robofish.io if nothing helps, contact Andi.\n" + "If you see this message and you don't know what to do, update all packages and if nothing helps, contact Andi.\n" "Don't ignore this warning, it's a serious issue.", ) def entity_poses_calc_ori_rad(self): @@ -457,8 +455,7 @@ class File(h5py.File): details="We found that our calculation of 'speed_turn' is flawed and replaced it " "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 robofish.io if nothing helps, contact Andi.\n" + "If you see this message and you don't know what to do, update all packages and if nothing helps, contact Andi.\n" "Don't ignore this warning, it's a serious issue.", ) def entity_speeds_turns(self): -- GitLab