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
0f7b93de
Commit
0f7b93de
authored
2 years ago
by
gianluv00
Browse files
Options
Downloads
Patches
Plain Diff
Changed type of world_size_cm from List[int] to List[float]
parent
beeb4e14
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/robofish/io/file.py
+2
-2
2 additions, 2 deletions
src/robofish/io/file.py
with
2 additions
and
2 deletions
src/robofish/io/file.py
+
2
−
2
View file @
0f7b93de
...
...
@@ -65,7 +65,7 @@ class File(h5py.File):
path
:
Union
[
str
,
Path
]
=
None
,
mode
:
str
=
"
r
"
,
*
,
# PEP 3102
world_size_cm
:
List
[
in
t
]
=
None
,
world_size_cm
:
List
[
floa
t
]
=
None
,
validate
:
bool
=
False
,
validate_when_saving
:
bool
=
True
,
strict_validate
:
bool
=
False
,
...
...
@@ -94,7 +94,7 @@ class File(h5py.File):
'
w
'
Create file, truncate if exists
'
x
'
Create file, fail if exists
'
a
'
Read/write if exists, create otherwise
world_size_cm : [
int, in
t] , optional
world_size_cm : [
float, floa
t] , optional
side lengths [x, y] of the world in cm.
rectangular world shape is assumed.
validate: bool, default=False
...
...
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