Update VCS to work if param_overrides.txt already exists

This commit is contained in:
Jordan Carlin 2024-08-11 17:23:05 -07:00
parent 3edbdf8e86
commit d96dbc3130
No known key found for this signature in database

View File

@ -72,7 +72,7 @@ else:
COV_OPTIONS = ""
# 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():
[param, value] = param.split("=")
value = value.replace("\\'", "'")