From 542cd1cf3b106c4ea73a07da3a50cfac2d0f31e4 Mon Sep 17 00:00:00 2001 From: StephenMachete Date: Thu, 25 Jan 2024 03:07:17 +0100 Subject: [PATCH] update --- ptsl/client.py | 1 + ptsl/engine.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ptsl/client.py b/ptsl/client.py index 8531b4a..473d314 100644 --- a/ptsl/client.py +++ b/ptsl/client.py @@ -18,6 +18,7 @@ from ptsl.errors import CommandError from ptsl.ops import Operation + PTSL_VERSION = 1 diff --git a/ptsl/engine.py b/ptsl/engine.py index 6ebf781..a043625 100644 --- a/ptsl/engine.py +++ b/ptsl/engine.py @@ -353,7 +353,7 @@ def record_half_speed(self): def create_memory_location(self, start_time: Optional[str] = None, - location_number: Optional[int] = None, + memory_number: Optional[int] = None, name: Optional[str] = None, end_time: Optional[str] = None, location: Optional[str] = None, @@ -368,7 +368,7 @@ def create_memory_location(self, if general_properties == None: general_properties = MemoryLocationProperties(track_visibility=False) op = ops.CreateMemoryLocation( - number=location_number, + number=memory_number, name=name, start_time=start_time, end_time=end_time,