@datagrok/bio 2.13.7 → 2.13.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
@@ -5,7 +5,7 @@
5
5
  "name": "Aleksandr Tanas",
6
6
  "email": "atanas@datagrok.ai"
7
7
  },
8
- "version": "2.13.7",
8
+ "version": "2.13.8",
9
9
  "description": "Bioinformatics support (import/export of sequences, conversion, visualization, analysis). [See more](https://github.com/datagrok-ai/public/blob/master/packages/Bio/README.md) for details.",
10
10
  "repository": {
11
11
  "type": "git",
@@ -42,13 +42,13 @@
42
42
  "@datagrok-libraries/math": "^1.1.12",
43
43
  "@datagrok-libraries/ml": "^6.6.17",
44
44
  "@datagrok-libraries/tutorials": "^1.3.13",
45
- "@datagrok-libraries/utils": "4.2.21",
45
+ "@datagrok-libraries/utils": "^4.2.22",
46
46
  "@webgpu/types": "^0.1.40",
47
47
  "ajv": "^8.12.0",
48
48
  "ajv-errors": "^3.0.0",
49
49
  "cash-dom": "^8.0.0",
50
50
  "css-loader": "^6.7.3",
51
- "datagrok-api": "^1.20.1",
51
+ "datagrok-api": "^1.20.0",
52
52
  "dayjs": "^1.11.4",
53
53
  "fastest-levenshtein": "^1.0.16",
54
54
  "openchemlib": "^7.2.3",
@@ -15,9 +15,8 @@ export async function demoBio01UI() {
15
15
  let df: DG.DataFrame;
16
16
 
17
17
  try {
18
- const demoScript = new DemoScript(
19
- 'Similarity, Diversity',
20
- 'Sequence similarity tracking and evaluation dataset diversity');
18
+ const demoScript = new DemoScript('Similarity, Diversity',
19
+ 'Sequence similarity tracking and evaluation dataset diversity', false, {autoStartFirstStep: true});
21
20
  await demoScript
22
21
  .step(`Load DNA sequences`, async () => {
23
22
  grok.shell.windows.showContextPanel = false;
@@ -23,9 +23,9 @@ export async function demoBio01aUI() {
23
23
  const activityColName = 'activity';
24
24
 
25
25
  try {
26
- const demoScript = new DemoScript(
27
- 'Sequence Space',
28
- 'Exploring sequence space of Macromolecules, comparison with hierarchical clustering results');
26
+ const demoScript = new DemoScript('Sequence Space',
27
+ 'Exploring sequence space of Macromolecules, comparison with hierarchical clustering results',
28
+ false, {autoStartFirstStep: true});
29
29
  await demoScript
30
30
  .step(`Load DNA sequences`, async () => {
31
31
  [df, treeHelper, dendrogramSvc] = await Promise.all([
@@ -27,9 +27,8 @@ export async function demoBio01bUI() {
27
27
  const dimRedMethod: DimReductionMethods = DimReductionMethods.UMAP;
28
28
 
29
29
  try {
30
- const demoScript = new DemoScript(
31
- 'Activity Cliffs',
32
- 'Activity Cliffs analysis on Macromolecules data');
30
+ const demoScript = new DemoScript('Activity Cliffs', 'Activity Cliffs analysis on Macromolecules data', false,
31
+ {autoStartFirstStep: true});
33
32
  await demoScript
34
33
  .step(`Load DNA sequences`, async () => {
35
34
  grok.shell.windows.showContextPanel = false;
@@ -15,10 +15,7 @@ export async function demoBio03UI(): Promise<void> {
15
15
  let dlg: DG.Dialog;
16
16
 
17
17
  try {
18
- await new DemoScript(
19
- 'Atomic Level',
20
- 'Atomic level structure of Macromolecules',
21
- )
18
+ await new DemoScript('Atomic Level', 'Atomic level structure of Macromolecules', false, {autoStartFirstStep: true})
22
19
  .step(`Loading Macromolecules notation 'Helm'`, async () => {
23
20
  grok.shell.windows.showContextPanel = false;
24
21
  grok.shell.windows.showProperties = false;
@@ -38,9 +38,8 @@ export async function demoBio05UI(): Promise<void> {
38
38
  let pepseaDcStartPromise: Promise<void>;
39
39
 
40
40
  try {
41
- const demoScript = new DemoScript(
42
- 'Helm, MSA, Sequence Space',
43
- 'MSA and composition analysis on Helm data');
41
+ const demoScript = new DemoScript('Helm, MSA, Sequence Space', 'MSA and composition analysis on Helm data',
42
+ false, {autoStartFirstStep: true});
44
43
  await demoScript
45
44
  .step(`Load peptides with non-natural aminoacids in 'HELM' notation`, async () => {
46
45
  [pepseaDcStatus, df] = await Promise.all([
@@ -44,8 +44,9 @@ export {tests};
44
44
  //input: string category {optional: true}
45
45
  //input: string test {optional: true}
46
46
  //input: object testContext {optional: true}
47
+ //input: bool stressTest {optional: true}
47
48
  //output: dataframe result
48
- export async function test(category: string, test: string, testContext: TestContext): Promise<DG.DataFrame> {
49
- const data = await runTests({category, test, testContext});
49
+ export async function test(category: string, test: string, testContext: TestContext, stressTest?: boolean): Promise<DG.DataFrame> {
50
+ const data = await runTests({category, test, testContext, stressTest});
50
51
  return DG.DataFrame.fromObjects(data)!;
51
52
  }