Skip to content

Commit b97ffc4

Browse files
committed
Reorganised config files.
1 parent 0ccb5a6 commit b97ffc4

File tree

58 files changed

+9
-3
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+9
-3
lines changed

README.md

+1-1

src/main/resources/lap_race/devils_burdens/sample_config/race.config src/main/resources/lap_race/devils_burdens/sample_config/input/config.txt

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Any spaces within the working directory path should be escaped with a preceding backslash \.
2-
WORKING_DIRECTORY = /path/to/parent/directory/of/this/file
2+
# The working directory is the grandparent directory of this file, i.e. the directory containing
3+
# 'input' and 'output'.
4+
WORKING_DIRECTORY = /path/to/working/directory/
35

46
ENTRIES_FILENAME = entries.txt
57
RAW_RESULTS_FILENAME = rawtimes.txt
@@ -20,3 +22,7 @@ DNF_LEGS = 32/2,68/4
2022
# Comma-separated sequence of bib-number/leg-number/start-time for all legs that
2123
# have an individually recorded start time.
2224
INDIVIDUAL_LEG_STARTS = 2/1/0:10:00
25+
26+
# Comma-separated sequence bib-number/leg-number for all legs where the runner finished
27+
# before the runner on the previous leg.
28+
LEG_TIME_SWAPS = 4/4

src/test/java/lap_race/devils_burdens/ResultsTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -472,9 +472,9 @@ private void configureTest(String test_resource_root) throws IOException {
472472
temp_output_sub_directory = Files.createDirectories(temp_directory.resolve("output"));
473473

474474
Path resources_root = Paths.get("src/test/resources/devils_burdens/" + test_resource_root);
475-
Path resources_config = resources_root.resolve("race.config");
476475
Path resources_inputs = resources_root.resolve("input");
477476
resources_expected_outputs = resources_root.resolve("expected");
477+
Path resources_config = resources_inputs.resolve("config.txt");
478478

479479
copyFilesBetweenDirectories(resources_inputs, temp_input_sub_directory);
480480

0 commit comments

Comments
 (0)