From 1e0bea3c5351e46b7bf70dd014dc61d7bc2a2d42 Mon Sep 17 00:00:00 2001 From: Serwan Asaad Date: Thu, 4 Jul 2024 07:19:02 +0800 Subject: [PATCH] Fix: Convert QuAM keys to ints for folders --- quam/serialisation/json.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quam/serialisation/json.py b/quam/serialisation/json.py index e2d56655..f78df5e3 100644 --- a/quam/serialisation/json.py +++ b/quam/serialisation/json.py @@ -174,7 +174,7 @@ def load( continue with open(file, "r") as f: - file_contents = json.load(f) + file_contents = json.load(f, object_hook=convert_int_keys) contents.update(file_contents) if file.name == self.default_filename: