From 78c6164259cd2a5a34ae65da92cf11378e4b77dd Mon Sep 17 00:00:00 2001
From: Harry Carey <harry.carey95@gmail.com>
Date: Thu, 5 Oct 2023 13:57:54 +0200
Subject: [PATCH] removed marker indexing

---
 PyNutil/read_and_write.py | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/PyNutil/read_and_write.py b/PyNutil/read_and_write.py
index a2abf12..ba5420f 100644
--- a/PyNutil/read_and_write.py
+++ b/PyNutil/read_and_write.py
@@ -32,12 +32,7 @@ def load_visualign_json(filename):
           # save with .json extension need to see if i can remove this
         with open(filename.replace(".waln", ".json").replace(".wwrp", ".json"), "w") as f:
             json.dump(lz_compat_file, f, indent=4)
-        for slice in slices:
-            if "markers" in slice:
-                slice["markers"] = [
-                    [marker["x"], marker["y"], marker["nx"], marker["ny"]
-                     ] for marker in slice["markers"]
-                ]
+
     else:
         slices = vafile["slices"]
     
-- 
GitLab