Make sure e0_diff is loaded as float, not str

This commit is contained in:
rasmusvt 2022-08-16 11:43:56 +02:00
parent 24a7b12299
commit a77eb23a38

View file

@ -280,7 +280,7 @@ def load_data(path: str) -> dict:
data['e0_diff'] = {}
for path, edge_position in zip(data['path'], edge_positions):
data['e0_diff'][path] = edge_position
data['e0_diff'][path] = float(edge_position)