@datagrok/bio 1.7.24 → 1.7.25
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/detectors.js +6 -3
- package/dist/package-test.js +162 -191
- package/dist/package.js +104 -152
- package/package.json +7 -3
- package/{setup-unlink-clean → setup-unlink-clean.sh} +0 -0
- package/{setup → setup.sh} +1 -1
- package/src/__jest__/remote.test.ts +2 -2
- package/src/__jest__/test-node.ts +3 -2
- package/src/package-test.ts +0 -1
- package/src/package.ts +11 -22
- package/src/tests/WebLogo-positions-test.ts +43 -21
- package/src/tests/detectors-test.ts +21 -18
- package/src/tests/renderers-test.ts +6 -2
- package/src/utils/cell-renderer.ts +59 -117
- package/src/utils/convert.ts +12 -2
- package/{test-Bio-4f0c8bae6479-367602e1.html → test-Bio-4f0c8bae6479-17115d45.html} +4 -4
package/src/utils/convert.ts
CHANGED
|
@@ -49,7 +49,17 @@ export function convert(col: DG.Column): void {
|
|
|
49
49
|
if (convertDialog == null) {
|
|
50
50
|
convertDialog = ui.dialog('Convert sequence notation')
|
|
51
51
|
.add(ui.div([
|
|
52
|
-
ui.
|
|
52
|
+
ui.divText(
|
|
53
|
+
'Current notation: ' + currentNotation,
|
|
54
|
+
{
|
|
55
|
+
style: {
|
|
56
|
+
'text-align': 'center',
|
|
57
|
+
'font-weight': 'bold',
|
|
58
|
+
'font-size': '14px',
|
|
59
|
+
'padding': '5px',
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
),
|
|
53
63
|
targetNotationInput.root,
|
|
54
64
|
separatorInput.root
|
|
55
65
|
]))
|
|
@@ -59,7 +69,7 @@ export function convert(col: DG.Column): void {
|
|
|
59
69
|
|
|
60
70
|
await convertDo(col, targetNotation, separator);
|
|
61
71
|
})
|
|
62
|
-
.show();
|
|
72
|
+
.show({x: 350, y: 100});
|
|
63
73
|
|
|
64
74
|
convertDialogSubs.push(convertDialog.onClose.subscribe((value) => {
|
|
65
75
|
convertDialogSubs.forEach((s) => { s.unsubscribe(); });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<html><head><meta charset="utf-8"/><title>Bio Test Report. Datagrok version datagrok/datagrok:latest SHA=4f0c8bae6479. Commit
|
|
1
|
+
<html><head><meta charset="utf-8"/><title>Bio Test Report. Datagrok version datagrok/datagrok:latest SHA=4f0c8bae6479. Commit 17115d45.</title><style type="text/css">html,
|
|
2
2
|
body {
|
|
3
3
|
font-family: Arial, Helvetica, sans-serif;
|
|
4
4
|
font-size: 1rem;
|
|
@@ -229,7 +229,7 @@ header {
|
|
|
229
229
|
font-size: 1rem;
|
|
230
230
|
padding: 0 0.5rem;
|
|
231
231
|
}
|
|
232
|
-
</style></head><body><div id="jesthtml-content"><header><h1 id="title">Bio Test Report. Datagrok version datagrok/datagrok:latest SHA=4f0c8bae6479. Commit
|
|
232
|
+
</style></head><body><div id="jesthtml-content"><header><h1 id="title">Bio Test Report. Datagrok version datagrok/datagrok:latest SHA=4f0c8bae6479. Commit 17115d45.</h1></header><div id="metadata-container"><div id="timestamp">Started: 2022-08-10 09:26:20</div><div id="summary"><div id="suite-summary"><div class="summary-total">Suites (1)</div><div class="summary-passed summary-empty">0 passed</div><div class="summary-failed">1 failed</div><div class="summary-pending summary-empty">0 pending</div></div><div id="test-summary"><div class="summary-total">Tests (1)</div><div class="summary-passed summary-empty">0 passed</div><div class="summary-failed">1 failed</div><div class="summary-pending summary-empty">0 pending</div></div></div></div><div id="suite-1" class="suite-container"><div class="suite-info"><div class="suite-path">/home/runner/work/public/public/packages/Bio/src/__jest__/remote.test.ts</div><div class="suite-time warn">239.746s</div></div><div class="suite-tests"><div class="test-result failed"><div class="test-info"><div class="test-suitename"> </div><div class="test-title">TEST</div><div class="test-status">failed</div><div class="test-duration">222.193s</div></div><div class="failureMessages"> <pre class="failureMsg">Error: Test result : Failed : Bio.renderers.afterMsa : Error: Expected "Macromolecule", got "null"
|
|
233
233
|
|
|
234
234
|
at /home/runner/work/public/public/packages/Bio/src/__jest__/remote.test.ts:67:20
|
|
235
235
|
at Generator.next (<anonymous>)
|
|
@@ -323,7 +323,6 @@ Test result : Success : Bio.splitters.helm3-multichar : OK
|
|
|
323
323
|
Test result : Success : Bio.splitters.testHelm1 : OK
|
|
324
324
|
Test result : Success : Bio.splitters.testHelm2 : OK
|
|
325
325
|
Test result : Success : Bio.splitters.testHelm3 : OK
|
|
326
|
-
Test result : Success : Bio.renderers.afterMsa : OK
|
|
327
326
|
Test result : Success : Bio.renderers.afterConvert : OK
|
|
328
327
|
Test result : Success : Bio.converters.testFastaPtToSeparator : OK
|
|
329
328
|
Test result : Success : Bio.converters.testFastaDnaToSeparator : OK
|
|
@@ -353,6 +352,7 @@ Test result : Success : Bio.converters.testHelmLonePhosphorus : OK
|
|
|
353
352
|
Test result : Success : Bio.fastaFileHandler.testNormalFormatting : OK
|
|
354
353
|
Test result : Success : Bio.fastaFileHandler.testExtraSpaces : OK
|
|
355
354
|
Test result : Success : Bio.fastaFileHandler.testExtraNewlines : OK
|
|
356
|
-
Test result : Success : Bio.WebLogo-positions.
|
|
355
|
+
Test result : Success : Bio.WebLogo-positions.allPositions : OK
|
|
356
|
+
Test result : Success : Bio.WebLogo-positions.positions with shrinkEmptyTail option true (filterd) : OK
|
|
357
357
|
Test result : Success : Bio.WebLogo-positions.positions with skipEmptyPositions option : OK
|
|
358
358
|
</pre></div></div></div></div></body></html>
|