@datagrok/sequence-translator 0.0.6 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@datagrok/sequence-translator",
3
3
  "friendlyName": "SequenceTranslator",
4
- "version": "0.0.6",
4
+ "version": "0.0.8",
5
5
  "description": "",
6
6
  "dependencies": {
7
7
  "@datagrok-libraries/utils": "^0.1.0",
@@ -138,10 +138,7 @@ export function defineAxolabsPattern() {
138
138
  updateSvgScheme();
139
139
  updateOutputExamples();
140
140
  });
141
- let isOverhang = false;
142
- if (asBases[i].value.slice(-3) == '(o)')
143
- isOverhang = true;
144
- else
141
+ if (asBases[i].value.slice(-3) != '(o)')
145
142
  nucleotideCounter++;
146
143
 
147
144
  asModificationItems.append(
@@ -184,10 +181,7 @@ export function defineAxolabsPattern() {
184
181
  updateSvgScheme();
185
182
  updateOutputExamples();
186
183
  });
187
- let isOverhang = false;
188
- if (ssBases[i].value.slice(-3) == '(o)')
189
- isOverhang = true;
190
- else
184
+ if (ssBases[i].value.slice(-3) != '(o)')
191
185
  nucleotideCounter++;
192
186
 
193
187
  ssModificationItems.append(