Skip to content
Snippets Groups Projects
Commit 0f7b93de authored by gianluv00's avatar gianluv00 :flag_eu:
Browse files

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
......@@ -65,7 +65,7 @@ class File(h5py.File):
path: Union[str, Path] = None,
mode: str = "r",
*, # PEP 3102
world_size_cm: List[int] = None,
world_size_cm: List[float] = 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, int] , optional
world_size_cm : [float, float] , optional
side lengths [x, y] of the world in cm.
rectangular world shape is assumed.
validate: bool, default=False
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment