Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
io
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bioroboticslab
robofish
io
Commits
5ce0ebd7
Commit
5ce0ebd7
authored
4 years ago
by
Andi Gerken
Browse files
Options
Downloads
Patches
Plain Diff
Removed parts of the deprecation comments as suggested in the MR.
parent
995beed6
No related branches found
No related tags found
1 merge request
!16
Changed the way of calculating speeds and turns (+ minor features)
Pipeline
#38389
passed
4 years ago
Stage: package
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/robofish/io/file.py
+3
-6
3 additions, 6 deletions
src/robofish/io/file.py
with
3 additions
and
6 deletions
src/robofish/io/file.py
+
3
−
6
View file @
5ce0ebd7
...
@@ -428,8 +428,7 @@ class File(h5py.File):
...
@@ -428,8 +428,7 @@ class File(h5py.File):
removed_in
=
"
1.2.4
"
,
removed_in
=
"
1.2.4
"
,
details
=
"
We found that our calculation of
'
poses_calc_ori
'
is flawed.
"
details
=
"
We found that our calculation of
'
poses_calc_ori
'
is flawed.
"
"
Please replace it with
'
poses
'
and use the tracked orientation.
"
"
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,
"
"
If you see this message and you don
'
t know what to do, update all packages and 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.
"
,
"
Don
'
t ignore this warning, it
'
s a serious issue.
"
,
)
)
def
entity_poses_calc_ori
(
self
):
def
entity_poses_calc_ori
(
self
):
...
@@ -441,8 +440,7 @@ class File(h5py.File):
...
@@ -441,8 +440,7 @@ class File(h5py.File):
removed_in
=
"
1.2.4
"
,
removed_in
=
"
1.2.4
"
,
details
=
"
We found that our calculation of
'
poses_calc_ori_rad
'
is flawed.
"
details
=
"
We found that our calculation of
'
poses_calc_ori_rad
'
is flawed.
"
"
Please replace it with
'
poses_rad
'
and use the tracked orientation.
"
"
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,
"
"
If you see this message and you don
'
t know what to do, update all packages and 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.
"
,
"
Don
'
t ignore this warning, it
'
s a serious issue.
"
,
)
)
def
entity_poses_calc_ori_rad
(
self
):
def
entity_poses_calc_ori_rad
(
self
):
...
@@ -457,8 +455,7 @@ class File(h5py.File):
...
@@ -457,8 +455,7 @@ class File(h5py.File):
details
=
"
We found that our calculation of
'
speed_turn
'
is flawed and replaced it
"
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
"
"
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.
"
"
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,
"
"
If you see this message and you don
'
t know what to do, update all packages and 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.
"
,
"
Don
'
t ignore this warning, it
'
s a serious issue.
"
,
)
)
def
entity_speeds_turns
(
self
):
def
entity_speeds_turns
(
self
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment