Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
From now on, multipurpose tools such as the scenario cutter or the standalone mode choice scripts will need to be told which
EqasimConfiugurator
to use. There is theIDFConfigurator
,SwitzerlandConfigurator
, etc. The reason is that routing and other components may be configured differently depending on the use case, and this should also be reflected when calling those tools.In principle, there is nothing to be done, because the correct configurator is read from the
eqasim.properties
file in the resources of the JAR. This means that a JAR built forile_de_france
will define the correct configurator in that file, the same is true for the other currently existing cases. So callingRunScenarioCutter
from aswitzerland
JAR will automatically make use of theSwitzerlandConfigurator
.There are cases where you might want to override the configurator. This can be done (for the time being) by passing the command line option
--eqasim-configurator org.eqasim.etc.MyConfigurator
, but we will phase out this option in the near future. Alternatively, the configurator can be overridden by defining the environment variableeqasim_configurator
before running Java.Development
Controler.getInjector
to set up anything that needs injection (routing, mode choice, simulation, ...) to ensure the same set-up everywhereEqasimConfigurator
that needs to be passed to the respective run scripts