Skip to content

Commit

Permalink
Merge pull request #146 from SANDAG/ABM3_develop_run_summary_fix
Browse files Browse the repository at this point in the history
Remove suffix in runtime summary
  • Loading branch information
bhargavasana authored Jun 4, 2024
2 parents e2d4275 + 887dad8 commit 0d633c6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/main/emme/toolbox/utilities/run_summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,15 @@ def combine_dfs(self, df_list, step_dict):

else:
final_df = df_list[0]

# Remove unneeded entries
is_excluded = pd.Series(final_df.index).str.startswith(exclude)
final_df = final_df[~(is_excluded.values)]

# Remove appended iteration markers
final_df.index = (final_df.index.map(
lambda x: x.split('___')[0]))

result = (final_df, False)

return result
Expand Down

0 comments on commit 0d633c6

Please sign in to comment.