Skip to content
Snippets Groups Projects
Commit 68dffe88 authored by Jarrod Pas's avatar Jarrod Pas
Browse files

Outputs some parameters in key value pairs

parent ee9885ad
No related branches found
No related tags found
1 merge request!3Version 0.2
......@@ -112,6 +112,17 @@ def main(args):
args = parse_args(args)
print(args)
out = {
'seed': args.seed,
'router': args.router,
'community': args.community,
}
if args.trace == 'csv':
out['trace'] = args.trace_args['path']
for k, v in out.items():
print(f'{k}: {v}')
random.seed(args.seed)
env = simpy.Environment()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment