Skip to content

Commit

Permalink
Fixing tests (paths) from restructure
Browse files Browse the repository at this point in the history
  • Loading branch information
dhixsingh committed Jan 16, 2018
1 parent 6197435 commit 8ee3d73
Show file tree
Hide file tree
Showing 54 changed files with 12 additions and 12 deletions.
3 changes: 3 additions & 0 deletions examples/bushfire/scenarios/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
jill.out
jill.log
scenario.log
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Specifies the top level MATSim configuration file for this scenario
bushfire root directory, e.g., ./sample_data/maldon.xml
============================================================================-->
<matsimfile>
scenarios/mount-alexander-shire/maldon600/scenario_matsim_main.xml
scenarios/mount-alexander-shire/maldon-600/scenario_matsim_main.xml
</matsimfile>

<!--===========================================================================
Expand All @@ -60,7 +60,7 @@ Specifies the timestamped fire progression fire model file
For an example of the fire input file see ./sample_data/maldon_fire.json
============================================================================-->
<firefile>
<name>scenarios/mount-alexander-shire/maldon600/scenario_fire.json</name>
<name>scenarios/mount-alexander-shire/maldon-600/scenario_fire.json</name>
<coordinates>latlong</coordinates>
<format>geojson</format>
</firefile>
Expand All @@ -78,7 +78,7 @@ Specifies the geography file for this scenario
For an example of the geography file see ./sample_data/maldon_geography.json
============================================================================-->
<geographyfile>
<name>scenarios/mount-alexander-shire/maldon600/scenario_geography.xml</name>
<name>scenarios/mount-alexander-shire/maldon-600/scenario_geography.xml</name>
</geographyfile>

<!--===========================================================================
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
</module>

<module name="network">
<param name="inputNetworkFile" value="../scenario_matsim_network.xml.gz" />
<param name="inputNetworkFile" value="../mount_alexander_shire_network.xml.gz" />
<param name= "timeVariantNetwork" value= "true" />
<param name= "inputChangeEventsFile" value= "scenario_matsim_network_change_events.xml.gz" />
</module>
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,18 @@ public void testMaldon600() {
--jillconfig "--config={agents:[{classname:Resident, args:null, count:600}],logLevel: WARN,logFile: \"/var/www/data/user-data/2017-10-23-ds-maldon/scenario/jill.log\",programOutputFile: \"/var/www/data/user-data/2017-10-23-ds-maldon/scenario/jill.out\"}"
*/
String [] args = {
"--config", "scenarios/mount-alexander-shire/maldon600/scenario_main.xml",
"--logfile", "scenarios/mount-alexander-shire/maldon600/scenario.log",
"--config", "scenarios/mount-alexander-shire/maldon-600/scenario_main.xml",
"--logfile", "scenarios/mount-alexander-shire/maldon-600/scenario.log",
"--loglevel", "INFO",
// "--plan-selection-policy", "FIRST", // ensures it is deterministic, as default is RANDOM
"--seed", "12345",
"--safeline-output-file-pattern", "scenarios/mount-alexander-shire/maldon600/safeline.%d%.out",
"--safeline-output-file-pattern", "scenarios/mount-alexander-shire/maldon-600/safeline.%d%.out",
"--matsim-output-directory", utils.getOutputDirectory(),
"--jillconfig", "--config={"+
"agents:[{classname:io.github.agentsoz.ees.agents.Resident, args:null, count:600}],"+
"logLevel: WARN,"+
"logFile: \"scenarios/mount-alexander-shire/maldon600/jill.log\","+
"programOutputFile: \"scenarios/mount-alexander-shire/maldon600/jill.out\","+
"logFile: \"scenarios/mount-alexander-shire/maldon-600/jill.log\","+
"programOutputFile: \"scenarios/mount-alexander-shire/maldon-600/jill.out\","+
"randomSeed: 12345"+ // jill random seed
//"numThreads: 1"+ // run jill in single-threaded mode so logs are deterministic
"}"
Expand Down

0 comments on commit 8ee3d73

Please sign in to comment.