@datagrok/bio 1.3.0 → 1.3.1
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
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@datagrok/bio",
|
|
3
3
|
"beta": false,
|
|
4
4
|
"friendlyName": "Bio",
|
|
5
|
-
"version": "1.3.
|
|
5
|
+
"version": "1.3.1",
|
|
6
6
|
"description": "Bio is a [package](https://datagrok.ai/help/develop/develop#packages) for the [Datagrok](https://datagrok.ai) platform",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
"directory": "packages/Bio"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@datagrok-libraries/bio": "^2.1.
|
|
13
|
+
"@datagrok-libraries/bio": "^2.1.4",
|
|
14
14
|
"@datagrok-libraries/utils": "^0.4.2",
|
|
15
15
|
"cash-dom": "latest",
|
|
16
|
-
"datagrok-api": "^1.
|
|
16
|
+
"datagrok-api": "^1.4.10",
|
|
17
17
|
"dayjs": "latest",
|
|
18
18
|
"ts-loader": "^9.2.5",
|
|
19
19
|
"typescript": "^4.4.2"
|
|
@@ -5,6 +5,24 @@ import * as ui from 'datagrok-api/ui';
|
|
|
5
5
|
import * as DG from 'datagrok-api/dg';
|
|
6
6
|
|
|
7
7
|
category('detectors', () => {
|
|
8
|
+
// const csvDf1: string = `col1
|
|
9
|
+
// 1
|
|
10
|
+
// 2
|
|
11
|
+
// 3`;
|
|
12
|
+
//
|
|
13
|
+
// const csvDf2: string = `col1
|
|
14
|
+
// 4
|
|
15
|
+
// 5
|
|
16
|
+
// 6
|
|
17
|
+
// 7`;
|
|
18
|
+
//
|
|
19
|
+
// const csvDf3: string = `col1
|
|
20
|
+
// 8
|
|
21
|
+
// 9
|
|
22
|
+
// 10
|
|
23
|
+
// 11
|
|
24
|
+
// 12`;
|
|
25
|
+
|
|
8
26
|
const csvDfN1: string = `seq
|
|
9
27
|
ACGTC
|
|
10
28
|
CAGTGT
|
|
@@ -60,6 +78,10 @@ YNR-WYV-KHP
|
|
|
60
78
|
MWRSWY-CKHP
|
|
61
79
|
`;
|
|
62
80
|
|
|
81
|
+
// test('testDetectors1', async () => { await _testDetectors(csvDf1); });
|
|
82
|
+
// test('testDetectors2', async () => { await _testDetectors(csvDf2); });
|
|
83
|
+
// test('testDetectors3', async () => { await _testDetectors(csvDf3); });
|
|
84
|
+
|
|
63
85
|
test('testDetectorsN1', async () => { await _testDetectorsN1(csvDfN1); });
|
|
64
86
|
test('testDetectorsAA1', async () => { await _testDetectorsAA1(csvDfAA1); });
|
|
65
87
|
test('testDetectorsMsaN1', async () => { await _testDetectorsMsaN1(csvDfMsaN1); });
|
|
@@ -71,6 +93,15 @@ MWRSWY-CKHP
|
|
|
71
93
|
test('testDetectorsSepMsaN1', async () => { await _testDetectorsSepMsaN1(csvDfSepMsaN1); });
|
|
72
94
|
});
|
|
73
95
|
|
|
96
|
+
// export async function _testDetectors(csvDf: string) {
|
|
97
|
+
// const df: DG.DataFrame = DG.DataFrame.fromCsv(csvDf);
|
|
98
|
+
// await grok.data.detectSemanticTypes(df);
|
|
99
|
+
//
|
|
100
|
+
// const col1: DG.Column = df.col('col1')!;
|
|
101
|
+
// expect(col1.semType, null);
|
|
102
|
+
// expect(col1.getTag(DG.TAGS.UNITS), null);
|
|
103
|
+
// }
|
|
104
|
+
|
|
74
105
|
export async function _testDetectorsN1(csvDfN1: string) {
|
|
75
106
|
const dfN1: DG.DataFrame = DG.DataFrame.fromCsv(csvDfN1);
|
|
76
107
|
await grok.data.detectSemanticTypes(dfN1);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<html><head><meta charset="utf-8"/><title>Bio Test Report. Datagrok version datagrok/datagrok:latest SHA=
|
|
1
|
+
<html><head><meta charset="utf-8"/><title>Bio Test Report. Datagrok version datagrok/datagrok:latest SHA=69a4761f6044. Commit 51a4ab35.</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=
|
|
232
|
+
</style></head><body><div id="jesthtml-content"><header><h1 id="title">Bio Test Report. Datagrok version datagrok/datagrok:latest SHA=69a4761f6044. Commit 51a4ab35.</h1></header><div id="metadata-container"><div id="timestamp">Started: 2022-07-01 14:55:40</div><div id="summary"><div id="suite-summary"><div class="summary-total">Suites (1)</div><div class="summary-passed">1 passed</div><div class="summary-failed summary-empty">0 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">1 passed</div><div class="summary-failed summary-empty">0 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">39.007s</div></div><div class="suite-tests"><div class="test-result passed"><div class="test-info"><div class="test-suitename"> </div><div class="test-title">TEST</div><div class="test-status">passed</div><div class="test-duration">28.74s</div></div></div></div><div class="suite-consolelog"><div class="suite-consolelog-header">Console Log</div><div class="suite-consolelog-item"><pre class="suite-consolelog-item-origin"> at Object.<anonymous> (/home/runner/work/public/public/packages/Bio/src/__jest__/test-node.ts:63:11)
|
|
233
233
|
at Generator.next (<anonymous>)
|
|
234
234
|
at fulfilled (/home/runner/work/public/public/packages/Bio/src/__jest__/test-node.ts:28:58)
|
|
235
235
|
at processTicksAndRejections (internal/process/task_queues.js:97:5)</pre><pre class="suite-consolelog-item-message">Using web root: http://localhost:8080</pre></div><div class="suite-consolelog-item"><pre class="suite-consolelog-item-origin"> at /home/runner/work/public/public/packages/Bio/src/__jest__/remote.test.ts:24:11
|