test
All checks were successful
Test Agent / test-agent-run (push) Successful in 5m47s

This commit is contained in:
ІО-23 Шмуляр Олег 2026-02-24 14:55:54 +02:00
parent 72e9f65b27
commit 29196ba400

View File

@ -203,9 +203,9 @@ class FileDatasource:
def _parse_acc(row: List[str]) -> Accelerometer: def _parse_acc(row: List[str]) -> Accelerometer:
if len(row) < 3: if len(row) < 3:
raise ValueError(f"Accelerometer row must have 3 values (x,y,z). Got: {row}") raise ValueError(f"Accelerometer row must have 3 values (x,y,z). Got: {row}")
x = int(float(row[0])) x = int(row[0])
y = int(float(row[1])) y = int(row[1])
z = int(float(row[2])) z = int(row[2])
return Accelerometer(x=x, y=y, z=z) return Accelerometer(x=x, y=y, z=z)
@staticmethod @staticmethod