Skip to content

Commit

Permalink
Merge pull request #251 from darrylmelander/rts-gmlc-indexing-error
Browse files Browse the repository at this point in the history
  • Loading branch information
bknueven authored Nov 13, 2021
2 parents c9e551d + aa38cde commit 2828eb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion egret/parsers/rts_gmlc/parsed_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def __init__(self, model_skeleton:dict,
self.load_participation_factors = load_participation_factors

# Find and save the index of the first row of each sim type in timeseries_df
cur_sim = self.timeseries_df['Simulation'][0]
cur_sim = self.timeseries_df['Simulation'].iat[0]
self._first_indices = {cur_sim:0}
for i in range(1,len(self.timeseries_df)):
if self.timeseries_df['Simulation'].iat[i] != cur_sim:
Expand Down

0 comments on commit 2828eb7

Please sign in to comment.