Skip to content

Commit

Permalink
Refactor file path in gen_result.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mijanr committed Mar 16, 2024
1 parent 30e64c3 commit f09b623
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion results/gen_result.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ def get_best_runs():
best_runs.columns.name = None
best_runs = best_runs.rename(columns={'tags.mlflow.runName': 'Dataset'})
# save as markdown file
with open('best_runs.md', 'w') as f:
savePath = basePath + '/results/best_runs.md'
with open(savePath, 'w') as f:
f.write(best_runs.to_markdown(index=False))


Expand Down

0 comments on commit f09b623

Please sign in to comment.