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:
if len(row) < 3:
raise ValueError(f"Accelerometer row must have 3 values (x,y,z). Got: {row}")
x = int(float(row[0]))
y = int(float(row[1]))
z = int(float(row[2]))
x = int(row[0])
y = int(row[1])
z = int(row[2])
return Accelerometer(x=x, y=y, z=z)
@staticmethod
@ -222,4 +222,4 @@ class FileDatasource:
float(s)
return True
except Exception:
return False
return False