@datagrok/bio 2.0.24 → 2.0.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/dist/package-test.js +16 -7
- package/package.json +2 -2
- package/src/package-test.ts +4 -4
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"name": "Leonid Stolbov",
|
|
6
6
|
"email": "lstolbov@datagrok.ai"
|
|
7
7
|
},
|
|
8
|
-
"version": "2.0.
|
|
8
|
+
"version": "2.0.25",
|
|
9
9
|
"description": "Bio is a [package](https://datagrok.ai/help/develop/develop#packages) for the [Datagrok](https://datagrok.ai) platform",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"@datagrok-libraries/bio": "^5.2.0",
|
|
18
18
|
"@datagrok-libraries/chem-meta": "1.0.1",
|
|
19
19
|
"@datagrok-libraries/ml": "^6.2.0",
|
|
20
|
-
"@datagrok-libraries/utils": "^1.11.
|
|
20
|
+
"@datagrok-libraries/utils": "^1.11.1",
|
|
21
21
|
"@deck.gl/core": "^8.7.5",
|
|
22
22
|
"@deck.gl/layers": "^8.7.5",
|
|
23
23
|
"@luma.gl/constants": "^8.5.10",
|
package/src/package-test.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as DG from 'datagrok-api/dg';
|
|
2
2
|
|
|
3
|
-
import {runTests, tests} from '@datagrok-libraries/utils/src/test';
|
|
3
|
+
import {runTests, TestContext, tests} from '@datagrok-libraries/utils/src/test';
|
|
4
4
|
|
|
5
5
|
import './tests/WebLogo-test';
|
|
6
6
|
import './tests/Palettes-test';
|
|
@@ -24,9 +24,9 @@ export {tests};
|
|
|
24
24
|
//name: test
|
|
25
25
|
//input: string category {optional: true}
|
|
26
26
|
//input: string test {optional: true}
|
|
27
|
-
//input:
|
|
27
|
+
//input: object testContext {optional: true}
|
|
28
28
|
//output: dataframe result
|
|
29
|
-
export async function test(category: string, test: string,
|
|
30
|
-
const data = await runTests({category, test,
|
|
29
|
+
export async function test(category: string, test: string, testContext: TestContext): Promise<DG.DataFrame> {
|
|
30
|
+
const data = await runTests({category, test, testContext});
|
|
31
31
|
return DG.DataFrame.fromObjects(data)!;
|
|
32
32
|
}
|