summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/file.py2
1 files changed, 1 insertions, 1 deletions
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"])