@datagrok/peptides 1.23.18 → 1.23.19

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/peptides",
3
3
  "friendlyName": "Peptides",
4
- "version": "1.23.18",
4
+ "version": "1.23.19",
5
5
  "author": {
6
6
  "name": "Davit Rizhinashvili",
7
7
  "email": "drizhinashvili@datagrok.ai"
@@ -13,12 +13,12 @@
13
13
  "directory": "packages/Peptides"
14
14
  },
15
15
  "dependencies": {
16
- "@datagrok-libraries/bio": "^5.54.7",
17
- "@datagrok-libraries/math": "^1.2.5",
18
- "@datagrok-libraries/ml": "^6.10.4",
16
+ "@datagrok-libraries/bio": "^5.55.1",
17
+ "@datagrok-libraries/math": "^1.2.6",
18
+ "@datagrok-libraries/ml": "^6.10.6",
19
19
  "@datagrok-libraries/statistics": "^1.2.12",
20
- "@datagrok-libraries/tutorials": "^1.6.1",
21
- "@datagrok-libraries/utils": "^4.6.3",
20
+ "@datagrok-libraries/tutorials": "^1.7.4",
21
+ "@datagrok-libraries/utils": "^4.6.9",
22
22
  "@webgpu/types": "^0.1.40",
23
23
  "cash-dom": "^8.1.5",
24
24
  "datagrok-api": "^1.25.0",
@@ -28,7 +28,7 @@
28
28
  "wu": "^2.1.0"
29
29
  },
30
30
  "devDependencies": {
31
- "@datagrok-libraries/helm-web-editor": "^1.1.7",
31
+ "@datagrok-libraries/helm-web-editor": "^1.1.16",
32
32
  "@datagrok-libraries/js-draw-lite": "^0.0.5",
33
33
  "@datagrok/bio": "^2.21.11",
34
34
  "@datagrok/chem": "^1.13.0",
@@ -40,7 +40,7 @@
40
40
  "@typescript-eslint/eslint-plugin": "^8.8.1",
41
41
  "@typescript-eslint/parser": "^8.8.1",
42
42
  "css-loader": "^7.1.2",
43
- "datagrok-tools": "^4.14.47",
43
+ "datagrok-tools": "^4.14.65",
44
44
  "eslint": "^8.57.1",
45
45
  "eslint-config-google": "^0.14.0",
46
46
  "style-loader": "^4.0.0",
package/src/package.g.ts CHANGED
@@ -82,7 +82,7 @@ export function manualAlignment(_monomer: string) : any {
82
82
  //name: Peptide SAR
83
83
  //description: Peptide SAR Analysis demo on peptide sequences in FASTA format
84
84
  //meta.demoPath: Bioinformatics | Peptide SAR
85
- //meta.demoSkip: GROK-14320
85
+ //meta.isDemoDashboard: true
86
86
  export async function macromoleculeSarFastaDemo() : Promise<void> {
87
87
  await PackageFunctions.macromoleculeSarFastaDemo();
88
88
  }
package/src/package.ts CHANGED
@@ -250,7 +250,7 @@ export class PackageFunctions {
250
250
  @grok.decorators.func({
251
251
  meta: {
252
252
  demoPath: 'Bioinformatics | Peptide SAR',
253
- demoSkip: 'GROK-14320',
253
+ isDemoDashboard: 'true',
254
254
  },
255
255
  name: 'Peptide SAR',
256
256
  description: 'Peptide SAR Analysis demo on peptide sequences in FASTA format',
@@ -66,7 +66,7 @@ export class ClusterMaxActivityViewer extends DG.JsViewer implements IClusterMax
66
66
  'activityTarget', ACTIVITY_TARGET.HIGH, {choices: [ACTIVITY_TARGET.HIGH, ACTIVITY_TARGET.LOW]},
67
67
  ) as ACTIVITY_TARGET;
68
68
  this.clusterSizeThreshold = this.int(ClusterMaxActivityProps.CLUSTER_SIZE_THRESHOLD, 20);
69
- this.activityThreshold = this.int(ClusterMaxActivityProps.ACTIVITY_THRESHOLD, 1000);
69
+ this.activityThreshold = this.float(ClusterMaxActivityProps.ACTIVITY_THRESHOLD, 1000, {step: 0.1});
70
70
  this.connectivityColumnName = this.column(ClusterMaxActivityProps.CONNECTIVITY_COLUMN, {nullable: true});
71
71
  }
72
72
 
@@ -1120,7 +1120,7 @@ export class MonomerPosition extends SARViewer {
1120
1120
  $(expand).addClass('pep-help-icon');
1121
1121
  this.targetColumnInput && (this.targetColumnInput.root.style.maxWidth = '50%');
1122
1122
  this.monomerSearchInput.root.style.marginRight = '8px';
1123
- const targetInputsHost = ui.divH([this.monomerSearchInput.root, this.targetColumnInput?.root ?? ui.div(), this.targetCategoryInput.root],
1123
+ const targetInputsHost = ui.divH([this.monomerSearchInput.input, this.targetColumnInput?.root ?? ui.div(), this.targetCategoryInput.root],
1124
1124
  {style: {alignSelf: 'center', justifyContent: 'center', width: '100%', flexWrap: 'wrap'}});
1125
1125
  targetInputsHost.style.display = this.showFilterControls ? 'flex' : 'none';
1126
1126
  const header = ui.divH([expand, switchHost, targetInputsHost], {style: {alignSelf: 'center', lineHeight: 'normal', flexDirection: 'column', width: '100%'}});