Commit 4fbf2a07 by Tobias Langer

Usability.

parent 4feaf72f
......@@ -87,6 +87,8 @@ def main():
'should be generated.')
parser.add_argument('target', type=str, help='Output directory.', nargs='?',
default='.')
parser.add_argument('experiment_target', type=str, help='Output directory for experiments.', nargs='?',
default='.')
parser.add_argument('--baseclock', type=str, default='system_clock',
nargs='?',
help='The clock which is to be used for the execution.')
......@@ -200,6 +202,10 @@ def main():
'elem' : task_out
}
]
try:
out['output'] = args.experiment_target
except KeyError:
pass
outname = os.path.join(args.target, name + '.json')
with open(outname, 'w') as outfile:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment