diff --git a/PyNutil/read_and_write.py b/PyNutil/read_and_write.py index a2abf1274769b32dad7f231273479936159e328e..ba5420f3a77a6714cff773f0a5b7ca1b0b03d346 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"]