Skip to content

Commit e7c4ecb

Browse files
fix typo
1 parent 275430c commit e7c4ecb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

omega_prime/recording.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ def from_osi_gts(cls, gts: list[betterosi.GroundTruth], validate: bool = True):
335335
if gt.proj_string is not None and gt.proj_string != ""
336336
else None,
337337
offset=ProjectionOffset(
338-
x=gt.proj_frame_offset.posiiton.x,
338+
x=gt.proj_frame_offset.position.x,
339339
y=gt.proj_frame_offset.position.y,
340340
z=gt.proj_frame_offset.position.z,
341341
yaw=gt.proj_frame_offset.yaw,

tests/test_esmini_examples.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
import omega_prime
77

8-
p = Path("example_files/")
8+
p = Path(__file__).parent.parent / "example_files/"
99
with open(p / "mapping.json") as f:
1010
mapping = json.load(f)
1111

0 commit comments

Comments
 (0)