Make sure e0_diff is loaded as float, not str
This commit is contained in:
parent
24a7b12299
commit
a77eb23a38
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue