-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ma/#1028-update-default-config-for-iter-linkstats-output-4ci Updated … #1055
ma/#1028-update-default-config-for-iter-linkstats-output-4ci Updated … #1055
Conversation
…the linkstats module config to disable it effectively for writing linkstats.txt.gz file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems that it would be easier to set the default in beam-template and let that trickle down to all, unless I missed something
Its a matsim module config. Perhaps this is the right way to do this. I had a discussion on this with @wrashid He can better confirm. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would prefer that we move away from using parameters in the MATSim configurations. If we need the MATSim parameter to be set, then we mutate them after reading the beam config options. For an example of this see BeamHelper line 388:
matsimConfig.controler().setWritePlansInterval(beamConfig.beam.outputs.writePlansInterval)
If this is not possible, i.e. if matsim doesn't let you mutate, then let's have a discussion and try to find a better way.
So this means that most of the changes you made in this PR would need to be reverted.
Reviewed 10 of 10 files at r1.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @wrashid)
@mr-asif-nor please see what we're doing in this PR for an example of how we want this: You could wait for that PR to be merged and then follow the example there. |
Ok |
…put-4ci' and 'master' of https://github.com/LBNL-UCB-STI/beam into ma/#1028-update-default-config-for-iter-linkstats-output-4ci # Conflicts: # test/input/beamville/beam.conf # test/input/equil-square/equil-0.001k.conf # test/input/sf-light/sf-light-0.5k.conf # test/input/sf-light/sf-light-10k.conf # test/input/sf-light/sf-light-1k.conf # test/input/sf-light/sf-light-2.5k.conf # test/input/sf-light/sf-light-25k.conf # test/input/sf-light/sf-light-5k.conf # test/input/sf-light/sf-light.conf
@colinsheppard |
test! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 1 of 10 files at r2.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @wrashid)
…nkstats-output-4ci
test! |
Fixed #1028
…the linkstats module config to disable it effectively for writing linkstats.txt.gz file
This change is