@datagrok/bio 2.25.12 → 2.25.14
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 +3 -3
- package/dist/package-test.js.map +1 -1
- package/dist/package.js +3 -3
- package/dist/package.js.map +1 -1
- package/package.json +1 -1
- package/src/demo/bio03-atomic-level.ts +1 -2
- package/src/substructure-search/substructure-search.ts +1 -2
- package/src/utils/detect-macromolecule-probe.ts +1 -2
- package/src/utils/monomer-lib/lib-manager.ts +1 -2
- package/src/utils/monomer-lib/monomer-manager/match-molecules.ts +347 -0
- package/src/utils/monomer-lib/monomer-manager/monomer-manager.ts +4 -82
- package/src/utils/multiple-sequence-alignment-ui.ts +1 -2
- package/src/utils/seq-helper/seq-handler.ts +14 -4
- package/src/utils/split-to-monomers.ts +1 -2
- package/src/viewers/vd-regions-viewer.ts +1 -1
- package/src/viewers/web-logo-viewer.ts +1 -1
- package/src/widgets/bio-substructure-filter-helm.ts +2 -3
- package/src/widgets/bio-substructure-filter.ts +2 -2
- package/test-console-output-1.log +493 -520
- package/test-record-1.mp4 +0 -0
|
@@ -14,7 +14,7 @@ import wu from 'wu';
|
|
|
14
14
|
import {Observable, Subject, Unsubscribable} from 'rxjs';
|
|
15
15
|
|
|
16
16
|
import {TAGS as bioTAGS, NOTATION} from '@datagrok-libraries/bio/src/utils/macromolecule';
|
|
17
|
-
import {
|
|
17
|
+
import {testEvent} from '@datagrok-libraries/utils/src/test';
|
|
18
18
|
import {IRenderer} from '@datagrok-libraries/bio/src/types/renderer';
|
|
19
19
|
import {ILogger} from '@datagrok-libraries/bio/src/utils/logger';
|
|
20
20
|
import {PromiseSyncer} from '@datagrok-libraries/bio/src/utils/syncer';
|
|
@@ -269,7 +269,7 @@ export class BioSubstructureFilter extends DG.Filter implements IRenderer {
|
|
|
269
269
|
async awaitRendered(timeout: number = 10000): Promise<void> {
|
|
270
270
|
const callLog = `awaitRendered( ${timeout} )`;
|
|
271
271
|
const logPrefix = `${this.filterToLog()}.${callLog}`;
|
|
272
|
-
await delay(10);
|
|
272
|
+
await DG.delay(10);
|
|
273
273
|
await testEvent(this.onRendered, () => {
|
|
274
274
|
this.logger.debug(`${logPrefix}, ` + '_onRendered event caught');
|
|
275
275
|
}, () => {
|