Docker-in-Docker (DinD) capabilities of public runners deactivated. More info

Commit 96291517 authored by Carine Rey's avatar Carine Rey
Browse files

fix a potential error

parent 364dcd6f
......@@ -402,7 +402,7 @@ class SequenceScoreFace(StaticItemFace):
def get_corr_color(x):
score = [1,0.99,0.9,0.8,0.7,0.5,0]
color = ["red", "red", "orange", "#EFDB00", "#6BAC00", "#7174D0", "#A3A3A3"]
res = "#A3A3A3"
for i in range(len(score)):
if x >= score[i]:
res = color[i]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment