From 5fd2a07e93301015f5e38f311996740f2c69463a Mon Sep 17 00:00:00 2001
From: TUD278427 <TUD278427@tudelft.net>
Date: Thu, 4 Jun 2020 14:00:08 +0200
Subject: [PATCH] still metadata, fixed type

---
 core_tools/drivers/harware.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core_tools/drivers/harware.py b/core_tools/drivers/harware.py
index 1a5944cc..ccf9cf90 100644
--- a/core_tools/drivers/harware.py
+++ b/core_tools/drivers/harware.py
@@ -146,7 +146,7 @@ class harware_parent(qc.Instrument):
             vg_meta = {}
             vg_meta['real_gate_names'] = vg.real_gate_names
             vg_meta['virtual_gate_names'] = vg.virtual_gate_names
-            vg_meta['virtual_gate_matrix'] = vg_mat            
+            vg_meta['virtual_gate_matrix'] = str(vg_mat)
             vg_snap[vg.name] = vg_meta
         self.snap = {'AWG_to_DAC': self.AWG_to_dac_conversion,
                  'dac_gate_map': self.dac_gate_map,
-- 
GitLab