Skip to content

Commit

Permalink
Final work on Analyze
Browse files Browse the repository at this point in the history
  • Loading branch information
untergasser committed Jan 24, 2024
1 parent 47f28db commit f148445
Show file tree
Hide file tree
Showing 14 changed files with 15 additions and 9 deletions.
Binary file modified client/src/static/bin/absolute.rdml
Binary file not shown.
Binary file modified client/src/static/bin/linregpcr.rdml
Binary file not shown.
Binary file modified client/src/static/bin/meltingcurveanalysis.rdml
Binary file not shown.
Binary file modified client/src/static/bin/merge.rdml
Binary file not shown.
Binary file modified client/src/static/bin/merge_add.rdml
Binary file not shown.
Binary file modified client/src/static/bin/sample.rdml
Binary file not shown.
22 changes: 14 additions & 8 deletions client/src/static/js/rdml_analyze.js
Original file line number Diff line number Diff line change
Expand Up @@ -1874,18 +1874,24 @@ function updateClientData() {
if (window.absoluteNcopyUnit != "") {
ret += '</td>\n<td style="text-align: right;">'
csv += '\t'
if ((reacts[reac].datas[dataPos].hasOwnProperty("corrN0")) &&
(parseFloat(reacts[reac].datas[dataPos].corrN0) > 0.0) &&
if ((reacts[reac].datas[dataPos].hasOwnProperty("corrNcopy")) &&
(parseFloat(reacts[reac].datas[dataPos].corrNcopy) > 0.0) &&
(window.absoluteNcopyCorr.hasOwnProperty(reacts[reac].datas[dataPos].tar)) &&
(parseFloat(window.absoluteNcopyCorr[reacts[reac].datas[dataPos].tar]) > 0.0)) {
var fN0 = parseFloat(reacts[reac].datas[dataPos].corrN0)
var cN0 = parseFloat(window.absoluteNcopyCorr[reacts[reac].datas[dataPos].tar]);
var fNcopy = parseFloat(reacts[reac].datas[dataPos].corrNcopy);
var fvol = 20.0;
if ((reacts[reac].hasOwnProperty("vol")) &&
(parseFloat(reacts[reac].vol) > 0.0)) {
fvol = parseFloat(reacts[reac].vol)
}
var cNcopy = parseFloat(window.absoluteNcopyCorr[reacts[reac].datas[dataPos].tar]);
var finalQuant = fNcopy * cNcopy * fvol / 20.0
if (window.absoluteNcopyUnit == "cop") {
ret += floatWithFixPrec(fN0 / cN0, 2)
csv += floatWithFixPrec(fN0 / cN0, 2)
ret += floatWithFixPrec(finalQuant, 2)
csv += floatWithFixPrec(finalQuant, 2)
} else {
ret += floatWithExPrec(fN0 / cN0, 2)
csv += floatWithExPrec(fN0 / cN0, 2)
ret += floatWithExPrec(finalQuant, 2)
csv += floatWithExPrec(finalQuant, 2)
}
}
}
Expand Down
Binary file modified server/absolute.rdml
Binary file not shown.
Binary file modified server/linregpcr.rdml
Binary file not shown.
Binary file modified server/meltingcurveanalysis.rdml
Binary file not shown.
Binary file modified server/merge.rdml
Binary file not shown.
Binary file modified server/merge_add.rdml
Binary file not shown.
2 changes: 1 addition & 1 deletion server/rdmlpython
Submodule rdmlpython updated 1 files
+517 −437 rdml.py
Binary file modified server/sample.rdml
Binary file not shown.

0 comments on commit f148445

Please sign in to comment.