Skip to content

Commit

Permalink
Merge pull request #69 from isi-usc-edu/johnp/#56-remove-row-indexing
Browse files Browse the repository at this point in the history
fixed `.to_csv()` args so indexing is not present.
  • Loading branch information
jp7745 authored Dec 10, 2024
2 parents eb051af + 8e68a1f commit 91a63bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/compute_all_performance_metrics_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ def main(args):
# ==============================================================
timestamp = datetime.datetime.now().strftime("%Y-%m-%d-%H-%M")
aggregated_labels_file_name = f"aggregated_solver_labels_{timestamp}.csv"
aggregated_results.to_csv(aggregated_labels_file_name)
aggregated_results.to_csv(aggregated_labels_file_name, index=False)
logging.info(f"wrote interim output to {aggregated_labels_file_name}")
logging.info(f"=============================================")

Expand All @@ -367,7 +367,7 @@ def main(args):

# write out the labels to a .csv file... one file for each solver.
solver_labels_file_name = f"solver_labels.{solver_short_name}.{solver_uuid}.csv"
solver_labels.to_csv(solver_labels_file_name)
solver_labels.to_csv(solver_labels_file_name, index=False)


try:
Expand Down

0 comments on commit 91a63bc

Please sign in to comment.