From 30124b1ee1fa8bb1a02364e6ec3b6b04477ef8d9 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Sat, 11 Jan 2020 15:04:21 +0100 Subject: Fix loading again --- src/file.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/file.py') diff --git a/src/file.py b/src/file.py index 0184135..449193b 100644 --- a/src/file.py +++ b/src/file.py @@ -40,7 +40,7 @@ def open_system(path): for el in ser["elements"]: pol = phys.Polarizer() - pol.phase_retardation = str(el["phase_retardation"]) + pol.phase_retardation = float(el["phase_retardation"]) pol.name = str(el["name"]) pol.enable = bool(el["enable"]) pol.angle = float(el["angle"]) -- cgit