@datagrok/bio 2.7.2 → 2.8.0
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/CHANGELOG.md +36 -0
- package/detectors.js +30 -0
- package/dist/package-test.js +1 -1
- package/dist/package-test.js.map +1 -1
- package/dist/package.js +1 -1
- package/dist/package.js.map +1 -1
- package/package.json +9 -3
- package/src/package-types.ts +19 -8
- package/src/package.ts +17 -4
- package/src/tests/converters-test.ts +3 -3
- package/src/utils/cell-renderer.ts +1 -1
- package/src/utils/context-menu.ts +30 -0
- package/src/utils/convert.ts +2 -4
- package/src/utils/macromolecule-column-widget.ts +1 -1
- package/src/viewers/vd-regions-viewer.ts +2 -1
- package/src/widgets/package-settings-editor-widget.ts +16 -6
- package/src/widgets/representations.ts +1 -1
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Bio changelog
|
|
2
|
+
|
|
3
|
+
## 2.8.0 (2023-07-21)
|
|
4
|
+
|
|
5
|
+
This release focuses on improving feature stability and usability.
|
|
6
|
+
|
|
7
|
+
*Dependency: datgarok-api >= 1.13.3*
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* Add Copy group to Macromolecule cell context menu
|
|
12
|
+
* Add DefaultSeparator package property settings
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* Fix VdRegionsViewer filter source checkbox tooltip, workaround
|
|
17
|
+
|
|
18
|
+
## 2.7.2 (2023-07-21)
|
|
19
|
+
|
|
20
|
+
This release focuses on improving analysis stability and usability.
|
|
21
|
+
|
|
22
|
+
*Dependency: datagarok-api >= 1.13.3*
|
|
23
|
+
|
|
24
|
+
### Features
|
|
25
|
+
|
|
26
|
+
* Set default values in all dialogs where appropriate.
|
|
27
|
+
* Detected Helm monomer type for separator data and made it usable for MSA.
|
|
28
|
+
* Added alignment options to **Kalign**.
|
|
29
|
+
* Added separator support for **Sequence Space** and **Activity Cliffs**.
|
|
30
|
+
* Implemented showing monomer atomic structure in tooltips for macromolecules.
|
|
31
|
+
* For macromolecule cell, added the ability to show composition ratios in property panel.
|
|
32
|
+
* We have structured the top menu by organizing the items into groups: SAR, Structure, Atomic level, and Search.
|
|
33
|
+
|
|
34
|
+
### Bug Fixes
|
|
35
|
+
|
|
36
|
+
* GROK-13048: Activity cliffs identification for macromolecules.
|
package/detectors.js
CHANGED
|
@@ -482,4 +482,34 @@ class BioPackageDetectors extends DG.Package {
|
|
|
482
482
|
|
|
483
483
|
return wu(idxSet).map((idx) => col.get(idx));
|
|
484
484
|
}
|
|
485
|
+
|
|
486
|
+
// -- autostart --
|
|
487
|
+
|
|
488
|
+
//name: autostart
|
|
489
|
+
//tags: autostart
|
|
490
|
+
//description: Bio bootstrap
|
|
491
|
+
autostart() {
|
|
492
|
+
this.logger.debug('Bio: detectors.js: autostart()');
|
|
493
|
+
|
|
494
|
+
this.autostartContextMenu();
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
autostartContextMenu() {
|
|
498
|
+
grok.events.onContextMenu.subscribe((event) => {
|
|
499
|
+
if (event.args.item && event.args.item instanceof DG.GridCell &&
|
|
500
|
+
event.args.item.tableColumn && event.args.item.tableColumn.semType === DG.SEMTYPE.MACROMOLECULE
|
|
501
|
+
) {
|
|
502
|
+
const contextMenu = event.args.menu;
|
|
503
|
+
const cell = event.args.item.cell; // DG.Cell
|
|
504
|
+
|
|
505
|
+
grok.functions.call('Bio:addCopyMenu', {cell: cell, menu: contextMenu})
|
|
506
|
+
.catch((err) => {
|
|
507
|
+
grok.shell.error(err.toString());
|
|
508
|
+
});
|
|
509
|
+
|
|
510
|
+
event.preventDefault();
|
|
511
|
+
return true;
|
|
512
|
+
}
|
|
513
|
+
});
|
|
514
|
+
}
|
|
485
515
|
}
|