mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
Update VCS to work if param_overrides.txt already exists
This commit is contained in:
parent
3edbdf8e86
commit
d96dbc3130
@ -72,7 +72,7 @@ else:
|
|||||||
COV_OPTIONS = ""
|
COV_OPTIONS = ""
|
||||||
|
|
||||||
# Write parameter overrides to a file
|
# Write parameter overrides to a file
|
||||||
f = open(os.path.expandvars(wkdir) + "/param_overrides.txt", "x")
|
f = open(os.path.expandvars(wkdir) + "/param_overrides.txt", "w")
|
||||||
for param in args.params.split():
|
for param in args.params.split():
|
||||||
[param, value] = param.split("=")
|
[param, value] = param.split("=")
|
||||||
value = value.replace("\\'", "'")
|
value = value.replace("\\'", "'")
|
||||||
|
Loading…
Reference in New Issue
Block a user