diff --git a/egret/parsers/rts_gmlc/parsed_cache.py b/egret/parsers/rts_gmlc/parsed_cache.py index 0c62abc1..2275b2ba 100644 --- a/egret/parsers/rts_gmlc/parsed_cache.py +++ b/egret/parsers/rts_gmlc/parsed_cache.py @@ -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: