diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2020-01-11 15:04:21 +0100 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2020-01-11 15:04:21 +0100 |
commit | 30124b1ee1fa8bb1a02364e6ec3b6b04477ef8d9 (patch) | |
tree | 36e6da3558449c335eadb0069a9742ffacfe25f1 | |
parent | d1fc7360346d8457d088da56c08512b1094d74fe (diff) |
Fix loading againdev
-rw-r--r-- | src/file.py | 2 |
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"]) |