Mise à jour terminée. Pour connaître les apports de la version 13.8.4 par rapport à notre ancienne version vous pouvez lire les "Release Notes" suivantes :
https://about.gitlab.com/releases/2021/02/11/security-release-gitlab-13-8-4-released/
https://about.gitlab.com/releases/2021/02/05/gitlab-13-8-3-released/

Commit 1a546484 authored by Mikaël Salson's avatar Mikaël Salson Committed by Mathieu Giraud

js/segmenter.js: identity rate rather than mutation rate

Biologists are more used to talk about identity rate rather than error
rate. We therefore adapt to this terminology.

Fix 6077ae
parent bcc98f8d
......@@ -36,7 +36,7 @@ CGI_ADDRESS = ""
SEGMENT_KEYS = ["4", "4a", "4b"]
V_MUTATION_THRESHOLD = 2.0
V_MUTATION_THRESHOLD = 98.0
/** segment
* Segment is a view object to see the sequences of the selected clones in the model <br>
......@@ -575,10 +575,10 @@ Segment.prototype = {
if (clone.seg.imgt!=null){
mutation = clone.seg.imgt["V-REGION identity %"]
if (mutation != NaN) {
var mutationRate = 100 - parseFloat(mutation)
var mutationRate = parseFloat(identity)
info = document.createElement('span');
if (V_MUTATION_THRESHOLD)
info.className += mutationRate >= V_MUTATION_THRESHOLD ? ' mutationGood' : ' mutationBad'
info.className += mutationRate < V_MUTATION_THRESHOLD ? ' mutationGood' : ' mutationBad'
info.appendChild(document.createTextNode(mutationRate.toFixed(2) + "%"))
info.setAttribute('title', 'V-REGION mutation %, as computed by IMGT/V-QUEST')
}
......
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