More fixes, those are the final texts !!! #10

Merged
Jan merged 5 commits from working into main 2024-10-13 15:43:47 +02:00
Showing only changes of commit 52db4cc0fb - Show all commits

View File

@ -191,9 +191,10 @@ def startpage():
case "single_video":
order = list(config[name]["stimuli"]["list"]) # order = list of simuli keys
print("order: ",order)
if config[name]["stimuli"]["order"] == "random":
random.shuffle(order) #in random order
session["block_order"][name] = order
if "order" in config[name]["stimuli"]:
if config[name]["stimuli"]["order"] == "random":
random.shuffle(order) #in random order
session["block_order"][name] = order
case "double_video":
order = [] # order = list of stimuli keys
list_1 = list(config[name]["stimuli"]["list_1"])