Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Docker-in-Docker (DinD) capabilities of public runners deactivated.
More info
Open sidebar
VEBER Philippe
codepi
Commits
96291517
Commit
96291517
authored
Jul 02, 2018
by
Carine Rey
Browse files
fix a potential error
parent
364dcd6f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lib/scripts/plot_data.py
lib/scripts/plot_data.py
+1
-1
No files found.
lib/scripts/plot_data.py
View file @
96291517
...
...
@@ -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
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment