Skip to content

Commit 3823079

Browse files
authored
Merge pull request NHERI-SimCenter#11 from NHERI-SimCenter/master
abs - merging updates from upstream
2 parents 2626b41 + d3ae80c commit 3823079

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

modules/systemPerformance/ResidualDemand/run_residual_demand.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@ def create_congestion_animation(edge_vol_dir, output_file_name):
136136
]
137137
times = []
138138
for ii in range(len(all_frames)):
139-
hour = all_frames[ii][11:12]
140-
minute = int(all_frames[ii][15:16]) * 10
139+
hour = all_frames[0].split('_')[2][2:]
140+
minute = int(all_frames[0].split('_')[3][2:]) * 10
141141

142142
minute_end = minute + 10
143143

0 commit comments

Comments
 (0)