diff options
author | Brian Cully <bjc@kublai.com> | 2021-02-06 11:19:50 -0500 |
---|---|---|
committer | Brian Cully <bjc@kublai.com> | 2021-02-06 11:19:50 -0500 |
commit | 27d98187a8d7288e0c9d65c09fd6737900cc9883 (patch) | |
tree | 64b1095bc70a50939bfe618a0bf503d8ad867803 /rules.mjs | |
parent | e92ad9f4b19a0670a80cdd293970c3a08c27a8b4 (diff) | |
download | molsim-27d98187a8d7288e0c9d65c09fd6737900cc9883.tar.gz molsim-27d98187a8d7288e0c9d65c09fd6737900cc9883.zip |
Change 'translation' to 'transition'.
Diffstat (limited to 'rules.mjs')
-rw-r--r-- | rules.mjs | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -146,7 +146,7 @@ class PerformMutation { get expectedMutation() { if (this.rules.die.value <= 14) { - return Nucleotide.translation + return Nucleotide.transition } else if (this.rules.die.value <= 17) { return Nucleotide.complementingTransversion } else { @@ -158,8 +158,8 @@ class PerformMutation { return this.rules.currentGenome.selectedNucleotide } - get errorTranslationHTML() { - return `Select the base that corresponds to a <em>translation</em> of ${this.selectedNucleotide.value}.` + get errorTransitionHTML() { + return `Select the base that corresponds to a <em>transition</em> of ${this.selectedNucleotide.value}.` } get errorComplementingTransversionHTML() { return `Select the base that corresponds to a <em>complementing transversion</em> of ${this.selectedNucleotide.value}.` @@ -169,8 +169,8 @@ class PerformMutation { } get errorHTML() { - if (this.expectedMutation == Nucleotide.translation) { - return this.errorTranslationHTML + if (this.expectedMutation == Nucleotide.transition) { + return this.errorTransitionHTML } else if (this.expectedMutation == Nucleotide.complementingTransversion) { return this.errorComplementingTransversionHTML } else { |