@datagrok/peptides 1.17.21 → 1.17.22

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.17.21",
4
+ "version": "1.17.22",
5
5
  "author": {
6
6
  "name": "Davit Rizhinashvili",
7
7
  "email": "drizhinashvili@datagrok.ai"
@@ -290,7 +290,7 @@ export class ClusterMaxActivityViewer extends DG.JsViewer implements IClusterMax
290
290
 
291
291
  this.render();
292
292
 
293
- this.dataFrame.onDataChanged.subscribe(() => {
293
+ this.dataFrame?.onDataChanged.subscribe(() => {
294
294
  this.render();
295
295
  });
296
296
  }
@@ -299,6 +299,8 @@ export class ClusterMaxActivityViewer extends DG.JsViewer implements IClusterMax
299
299
  if (this.renderTimeout)
300
300
  clearTimeout(this.renderTimeout);
301
301
  this.renderTimeout = setTimeout(() => {
302
+ if (!this.dataFrame)
303
+ return;
302
304
  $(this.root).empty();
303
305
  const scViewer = this.scViewer;
304
306
  if (scViewer == null) {
@@ -97,8 +97,11 @@ export class LogoSummaryTable extends DG.JsViewer implements ILogoSummaryTable {
97
97
  {
98
98
  category: LST_CATEGORIES.GENERAL,
99
99
  nullable: false,
100
+ columnTypeFilter: DG.TYPE.CATEGORICAL,
100
101
  });
101
- this.activityColumnName = this.column(LST_PROPERTIES.ACTIVITY, {category: LST_CATEGORIES.GENERAL, nullable: false});
102
+ this.activityColumnName = this.column(LST_PROPERTIES.ACTIVITY, {
103
+ category: LST_CATEGORIES.GENERAL, nullable: false, columnTypeFilter: DG.TYPE.NUMERICAL,
104
+ });
102
105
  this.activityScaling = this.string(LST_PROPERTIES.ACTIVITY_SCALING, C.SCALING_METHODS.NONE,
103
106
  {
104
107
  category: LST_CATEGORIES.GENERAL,
@@ -243,6 +243,9 @@ function cliffsPairsWidgetParts(table: DG.DataFrame, options: MutationCliffsOpti
243
243
  pairsGrid.root.style.setProperty('width', '100%');
244
244
  uniqueSequencesGrid.root.style.removeProperty('width');
245
245
  uniqueSequencesGrid.root.style.setProperty('width', '100%');
246
+ pairsGrid.root.style.height = 'unset';
247
+ uniqueSequencesGrid.root.style.height = 'unset';
246
248
  }, 200);
249
+
247
250
  return {pairsGrid, uniqueSequencesGrid, aminoToInput};
248
251
  }
package/tsconfig.json CHANGED
@@ -12,7 +12,7 @@
12
12
  // "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', 'react', 'react-jsx' or 'react-jsxdev'. */
13
13
  // "declaration": true, /* Generates corresponding '.d.ts' file. */
14
14
  // "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
15
- // "sourceMap": true, /* Generates corresponding '.map' file. */
15
+ "sourceMap": true, /* Generates corresponding '.map' file. */
16
16
  // "outFile": "./", /* Concatenate and emit output to single file. */
17
17
  // "outDir": "./", /* Redirect output structure to the directory. */
18
18
  // "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
@@ -57,8 +57,8 @@
57
57
  /* Source Map Options */
58
58
  "sourceRoot": "", /* Specify the location where debugger should locate TypeScript files instead of source locations. */
59
59
  "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */
60
- "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */
61
- "inlineSources": true, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */
60
+ // "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */
61
+ // "inlineSources": true, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */
62
62
 
63
63
  /* Experimental Options */
64
64
  // "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */
package/webpack.config.js CHANGED
@@ -34,7 +34,7 @@ module.exports = {
34
34
  resolve: {
35
35
  extensions: ['.mjs', '.ts', '.js', '.json', '.tsx'],
36
36
  },
37
- devtool: 'inline-source-map',
37
+ devtool: 'source-map',
38
38
  externals: {
39
39
  'datagrok-api/dg': 'DG',
40
40
  'datagrok-api/grok': 'grok',