Skip to content

Commit

Permalink
Update csv-ami2glm-player.py
Browse files Browse the repository at this point in the history
Signed-off-by: Alyona Teyber <Ivanova.alyona5@gmail.com>
  • Loading branch information
aivanova5 authored Feb 1, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 4fb6223 commit 3604663
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion converters/csv-ami2glm-player.py
Original file line number Diff line number Diff line change
@@ -114,7 +114,7 @@ def convert(input_files, output_file, options={}):
continue
for obj,val in network["objects"].items() :
if "load" in val["class"] and node_ID in obj:
node_phase = val["phases"].replace("N", '').replace("S",'')
node_phase = ''.join([x for x in 'ABC' if x in val['phases']])
parent = val["parent"]
phase_dict[node_ID]=node_phase
for p in node_phase :

0 comments on commit 3604663

Please sign in to comment.