Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Tobias Langer
/
experiment
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
4fbf2a07
authored
Oct 08, 2016
by
Tobias Langer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Usability.
parent
4feaf72f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
tasksetgen.py
+6
-0
No files found.
tasksetgen.py
View file @
4fbf2a07
...
...
@@ -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
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment