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
Open sidebar
VEBER Philippe
codepi
Commits
f4ac3d5e
Commit
f4ac3d5e
authored
Nov 03, 2020
by
Philippe Veber
Browse files
Utils/recall_precision_curve: added assert
parent
1fa08ee7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
lib/utils.ml
lib/utils.ml
+1
-0
No files found.
lib/utils.ml
View file @
f4ac3d5e
...
...
@@ -36,6 +36,7 @@ let%pworkflow fasta_cappend fa1 fa2 =
let
%
pworkflow
recall_precision_curve
~
labels
~
oracle
~
results
:
pdf
file
=
let
open
Codepitk
in
let
n
=
Array
.
length
labels
in
assert
(
n
=
List
.
length
results
)
;
let
colors
=
Array
.
sub
[
|
"blue"
;
"green"
;
"red"
;
"tan1"
;
"royalblue4"
;
"darkorchid"
|
]
~
pos
:
0
~
len
:
n
in
let
labels
=
[
%
param
labels
]
in
let
load_results
fn
=
...
...
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