feat: extract attribute overwrite_switch

This commit is contained in:
Manuel Schmid
2024-01-22 18:38:20 +01:00
parent df35033cc9
commit 2b1f501462
3 changed files with 9 additions and 8 deletions
+3 -2
View File
@@ -145,6 +145,7 @@ def worker():
sampler_name = args.pop()
scheduler_name = args.pop()
overwrite_step = args.pop()
overwrite_switch = args.pop()
cn_tasks = {x: [] for x in flags.ip_list}
for _ in range(4):
@@ -342,8 +343,8 @@ def worker():
if overwrite_step > 0:
steps = overwrite_step
if advanced_parameters.overwrite_switch > 0:
switch = advanced_parameters.overwrite_switch
if overwrite_switch > 0:
switch = overwrite_switch
if advanced_parameters.overwrite_width > 0:
width = advanced_parameters.overwrite_width