summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--js-ver.org8
1 files changed, 4 insertions, 4 deletions
diff --git a/js-ver.org b/js-ver.org
index fea26bd..324ec89 100644
--- a/js-ver.org
+++ b/js-ver.org
@@ -92,8 +92,6 @@ start a python http server with:
set up the javascript code by loading direct module dependencies and running the analysis when the form is submitted.
#+begin_src javascript :noweb yes :tangle main.mjs
- import codon2AA from './codon2AminoAcid.mjs';
- import aa2Code from './aminoAcid2Code.mjs';
import process from './varscan.mjs';
import Log from './logging.mjs';
@@ -140,7 +138,7 @@ when the form is submitted, load the reference genome,its protein coding regions
Promise.all([variantsPromise, genomePromise, protein2PosPromise])
.then(([variants, genome, protein2Pos]) => {
- const results = process(codon2AA, aa2Code, genome, protein2Pos, variants);
+ const results = process(genome, protein2Pos, variants);
updateDownloadLink(resultsFilename, results);
fillTable(results);
});
@@ -252,8 +250,10 @@ create a download link
** variant to codon whatever i need to name this
#+begin_src javascript :tangle varscan.mjs
import Log from './logging.mjs';
+ import codon2AA from './codon2AminoAcid.mjs';
+ import aa2Code from './aminoAcid2Code.mjs';
- function process(codon2AA, aa2Code, genome, protein2Pos, variants) {
+ function process(genome, protein2Pos, variants) {
let lineno = 0;
let name = 'unnamed-change';
return variants