diff --git a/agent/src/file_datasource.py b/agent/src/file_datasource.py index 8781d80..538bfba 100644 --- a/agent/src/file_datasource.py +++ b/agent/src/file_datasource.py @@ -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 \ No newline at end of file + return False