Skip to content

Commit

Permalink
Remove hardcoding from select_from_results.py (#280)
Browse files Browse the repository at this point in the history
  • Loading branch information
mernst authored and Benedikt Schesch committed May 13, 2024
1 parent 4863de1 commit 7a9deaa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,6 @@ To run style checking run `make style`.
## Comparing merge algorithms

To investigate differences between two mergers:
* edit file `src/python/select_from_results.py` to reflect the differences you are interested in.
* run `src/python/select_from_results.py` to create a .csv database containing only the differences.
* run `src/python/select_from_results.py` to produce a CSV file containing only the differences you are interested in.
* run `` to create a .csv database containing only the differences.
* run `src/python/replay_merge.py --merges_csv CSV_FILE --idx INDEX` (maybe add `-test`) for the index of the merge you are interested in.
1 change: 1 addition & 0 deletions src/python/select_from_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ def main():
parser.add_argument(
"--input", action="store", default="../../results/combined/result.csv"
)
# Todo: Also parse arguments from the query.
parser.add_argument("columns", nargs=argparse.REMAINDER)
args = parser.parse_args()

Expand Down

0 comments on commit 7a9deaa

Please sign in to comment.