@cosmol-studio/cosmolkit-core 0.5.0-rc.18 → 0.5.0-rc.21

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.
Files changed (19) hide show
  1. package/package.json +2 -2
  2. package/wasm_wasm.d.ts +45 -20
  3. package/wasm_wasm.js +173 -104
  4. package/wasm_wasm_bg.wasm +0 -0
  5. package/wasm_wasm_bg.wasm.d.ts +25 -20
  6. /package/snippets/{wasm-wasm-30282a0f796f892b → wasm-wasm-6920c347788a3bef}/inline0.js +0 -0
  7. /package/snippets/{wasm-wasm-30282a0f796f892b → wasm-wasm-6920c347788a3bef}/inline1.js +0 -0
  8. /package/snippets/{wasm-wasm-30282a0f796f892b/inline9.js → wasm-wasm-6920c347788a3bef/inline10.js} +0 -0
  9. /package/snippets/{wasm-wasm-30282a0f796f892b → wasm-wasm-6920c347788a3bef}/inline11.js +0 -0
  10. /package/snippets/{wasm-wasm-30282a0f796f892b → wasm-wasm-6920c347788a3bef}/inline12.js +0 -0
  11. /package/snippets/{wasm-wasm-30282a0f796f892b → wasm-wasm-6920c347788a3bef}/inline13.js +0 -0
  12. /package/snippets/{wasm-wasm-30282a0f796f892b → wasm-wasm-6920c347788a3bef}/inline2.js +0 -0
  13. /package/snippets/{wasm-wasm-30282a0f796f892b → wasm-wasm-6920c347788a3bef}/inline3.js +0 -0
  14. /package/snippets/{wasm-wasm-30282a0f796f892b → wasm-wasm-6920c347788a3bef}/inline4.js +0 -0
  15. /package/snippets/{wasm-wasm-30282a0f796f892b → wasm-wasm-6920c347788a3bef}/inline5.js +0 -0
  16. /package/snippets/{wasm-wasm-30282a0f796f892b → wasm-wasm-6920c347788a3bef}/inline6.js +0 -0
  17. /package/snippets/{wasm-wasm-30282a0f796f892b → wasm-wasm-6920c347788a3bef}/inline7.js +0 -0
  18. /package/snippets/{wasm-wasm-30282a0f796f892b → wasm-wasm-6920c347788a3bef}/inline8.js +0 -0
  19. /package/snippets/{wasm-wasm-30282a0f796f892b/inline10.js → wasm-wasm-6920c347788a3bef/inline9.js} +0 -0
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@cosmol-studio/cosmolkit-core",
3
- "version": "0.5.0-rc.18",
3
+ "version": "0.5.0-rc.21",
4
4
  "cosmolkitPreset": "core",
5
- "cosmolkitVersion": "0.5.0-rc.18",
5
+ "cosmolkitVersion": "0.5.0-rc.21",
6
6
  "publishConfig": {
7
7
  "access": "public",
8
8
  "tag": "rc"
package/wasm_wasm.d.ts CHANGED
@@ -404,6 +404,10 @@ export class Molecule {
404
404
  assignValenceWithParams(params: ValenceParams): void;
405
405
  assignValence(): void;
406
406
  atomPropertyString(id: number, key: string): string | null;
407
+ /**
408
+ * Read typed user metadata; a missing key returns null.
409
+ */
410
+ atomProperty(atom: number, key: string): boolean | number | string | number[] | string[] | null;
407
411
  /**
408
412
  * Returns atomic numbers in molecule atom order.
409
413
  */
@@ -424,6 +428,10 @@ export class Molecule {
424
428
  distanceMatrixWithParams(params: DistanceMatrixParams): DenseMatrix;
425
429
  distanceMatrix(): DenseMatrix;
426
430
  findChiralCenters(include_unassigned?: boolean): Array<[number, string]>;
431
+ /**
432
+ * Sanitized components in source order, including conformers; self is unchanged.
433
+ */
434
+ fragments(): Molecule[];
427
435
  static fromMol2WithParams(text: string, params: Mol2ReadParams): Molecule;
428
436
  static fromMol2(text: string): Molecule;
429
437
  static fromMolWithParams(text: string, params: SdfReadParams): Molecule;
@@ -436,6 +444,10 @@ export class Molecule {
436
444
  static fromXyzBlock(text: string): Molecule;
437
445
  kekulizeBondsWithParams(params: KekulizeParams): void;
438
446
  kekulizeBonds(): void;
447
+ /**
448
+ * Most atoms, last on ties. Empty input throws OperationError.
449
+ */
450
+ largestFragment(): Molecule;
439
451
  /**
440
452
  * Returns the molecule name, or an empty string when no name is stored.
441
453
  */
@@ -486,6 +498,10 @@ export class Molecule {
486
498
  * Returns the first SDF data-field value with `name`, or an empty string.
487
499
  */
488
500
  sdfDataFieldOrEmpty(name: string): string;
501
+ /**
502
+ * Set metadata in place; COW keeps other molecule copies unchanged.
503
+ */
504
+ setAtomProperty(atom: number, key: string, value: boolean | number | string | number[] | string[]): void;
489
505
  toMolWithParams(params: MolBlockWriteParams): string;
490
506
  toMol(): string;
491
507
  toSdf2dWithParams(params: MolBlockWriteParams): string;
@@ -505,6 +521,10 @@ export class Molecule {
505
521
  withAssignedRings(): Molecule;
506
522
  withAssignedValenceWithParams(params: ValenceParams): Molecule;
507
523
  withAssignedValence(): Molecule;
524
+ /**
525
+ * Return a new molecule; the receiver and its shared copies are unchanged.
526
+ */
527
+ withAtomProperty(atom: number, key: string, value: boolean | number | string | number[] | string[]): Molecule;
508
528
  withHydrogensWithParams(params: AddHsParams): Molecule;
509
529
  withHydrogens(): Molecule;
510
530
  withKekulizedBondsWithParams(params: KekulizeParams): Molecule;
@@ -1348,6 +1368,7 @@ export interface InitOutput {
1348
1368
  readonly molecule_assignRings: (a: number) => [number, number];
1349
1369
  readonly molecule_assignValence: (a: number) => [number, number];
1350
1370
  readonly molecule_assignValenceWithParams: (a: number, b: number) => [number, number];
1371
+ readonly molecule_atomProperty: (a: number, b: any, c: number, d: number) => [number, number, number];
1351
1372
  readonly molecule_atomPropertyString: (a: number, b: any, c: number, d: number) => [number, number, number];
1352
1373
  readonly molecule_atomicNumbers: (a: number) => [number, number];
1353
1374
  readonly molecule_bondPropertyString: (a: number, b: any, c: number, d: number) => [number, number, number];
@@ -1360,6 +1381,7 @@ export interface InitOutput {
1360
1381
  readonly molecule_distanceMatrix3dWithParams: (a: number, b: any) => [number, number, number];
1361
1382
  readonly molecule_distanceMatrixWithParams: (a: number, b: any) => [number, number, number];
1362
1383
  readonly molecule_findChiralCenters: (a: number, b: any) => [number, number, number];
1384
+ readonly molecule_fragments: (a: number) => [number, number, number, number];
1363
1385
  readonly molecule_fromMol: (a: number, b: number) => [number, number, number];
1364
1386
  readonly molecule_fromMol2: (a: number, b: number) => [number, number, number];
1365
1387
  readonly molecule_fromMol2WithParams: (a: number, b: number, c: any) => [number, number, number];
@@ -1372,6 +1394,7 @@ export interface InitOutput {
1372
1394
  readonly molecule_fromXyzBlock: (a: number, b: number) => [number, number, number];
1373
1395
  readonly molecule_kekulizeBonds: (a: number) => [number, number];
1374
1396
  readonly molecule_kekulizeBondsWithParams: (a: number, b: any) => [number, number];
1397
+ readonly molecule_largestFragment: (a: number) => [number, number, number];
1375
1398
  readonly molecule_nameOrEmpty: (a: number) => [number, number, number, number];
1376
1399
  readonly molecule_new: () => number;
1377
1400
  readonly molecule_numAtoms: (a: number) => number;
@@ -1394,6 +1417,7 @@ export interface InitOutput {
1394
1417
  readonly molecule_sanitize_: (a: number) => [number, number];
1395
1418
  readonly molecule_sdfDataFieldNames: (a: number) => [number, number, number, number];
1396
1419
  readonly molecule_sdfDataFieldOrEmpty: (a: number, b: number, c: number) => [number, number, number, number];
1420
+ readonly molecule_setAtomProperty: (a: number, b: any, c: number, d: number, e: any) => [number, number];
1397
1421
  readonly molecule_toMol: (a: number) => [number, number, number, number];
1398
1422
  readonly molecule_toMolWithParams: (a: number, b: any) => [number, number, number, number];
1399
1423
  readonly molecule_toSdf: (a: number) => [number, number, number, number];
@@ -1413,6 +1437,7 @@ export interface InitOutput {
1413
1437
  readonly molecule_withAssignedRings: (a: number) => [number, number, number];
1414
1438
  readonly molecule_withAssignedValence: (a: number) => [number, number, number];
1415
1439
  readonly molecule_withAssignedValenceWithParams: (a: number, b: number) => [number, number, number];
1440
+ readonly molecule_withAtomProperty: (a: number, b: any, c: number, d: number, e: any) => [number, number, number];
1416
1441
  readonly molecule_withHydrogens: (a: number) => [number, number, number];
1417
1442
  readonly molecule_withHydrogensWithParams: (a: number, b: any) => [number, number, number];
1418
1443
  readonly molecule_withKekulizedBonds: (a: number) => [number, number, number];
@@ -1733,26 +1758,26 @@ export interface InitOutput {
1733
1758
  readonly xyzwriteparams_conformerId: (a: number) => any;
1734
1759
  readonly xyzwriteparams_new: (a: any, b: any) => [number, number, number];
1735
1760
  readonly xyzwriteparams_precision: (a: number) => number;
1736
- readonly wasm_bindgen__convert__closures________invoke__h0098ef223ed572d9: (a: number, b: number, c: number) => void;
1737
- readonly wasm_bindgen__convert__closures________invoke__h0098ef223ed572d9_489: (a: number, b: number, c: number) => void;
1738
- readonly wasm_bindgen__convert__closures________invoke__h090d8c23118f66ef: (a: number, b: number, c: number) => void;
1739
- readonly wasm_bindgen__convert__closures________invoke__h1845ce5ce3724183: (a: number, b: number, c: number) => void;
1740
- readonly wasm_bindgen__convert__closures________invoke__h1845ce5ce3724183_463: (a: number, b: number, c: number) => void;
1741
- readonly wasm_bindgen__convert__closures________invoke__h1845ce5ce3724183_513: (a: number, b: number, c: number) => void;
1742
- readonly wasm_bindgen__convert__closures________invoke__h1e9a6cd30dcd31b2: (a: number, b: number, c: number) => void;
1743
- readonly wasm_bindgen__convert__closures________invoke__h2548b8cd4d22d1cc: (a: number, b: number, c: number) => void;
1744
- readonly wasm_bindgen__convert__closures________invoke__h2548b8cd4d22d1cc_497: (a: number, b: number, c: number) => void;
1745
- readonly wasm_bindgen__convert__closures________invoke__h2548b8cd4d22d1cc_534: (a: number, b: number, c: number) => void;
1746
- readonly wasm_bindgen__convert__closures________invoke__h468156bc7fca1e00: (a: number, b: number, c: number) => void;
1747
- readonly wasm_bindgen__convert__closures________invoke__h5040c8a4b9a53d5d: (a: number, b: number, c: number) => void;
1748
- readonly wasm_bindgen__convert__closures________invoke__h5581282dfa13cc36: (a: number, b: number, c: number) => void;
1749
- readonly wasm_bindgen__convert__closures________invoke__h6d734e71dc298b28: (a: number, b: number, c: number) => void;
1750
- readonly wasm_bindgen__convert__closures________invoke__h904e6b75a2a624f2: (a: number, b: number, c: number) => void;
1751
- readonly wasm_bindgen__convert__closures________invoke__h986cdc9ac71868cc: (a: number, b: number, c: number) => void;
1752
- readonly wasm_bindgen__convert__closures________invoke__hc5936bb1ae5b6036: (a: number, b: number, c: number) => void;
1753
- readonly wasm_bindgen__convert__closures________invoke__hca2f2ad0b0d15bd7: (a: number, b: number, c: number) => void;
1754
- readonly wasm_bindgen__convert__closures________invoke__hdffa08aea87321dd: (a: number, b: number, c: number) => void;
1755
- readonly wasm_bindgen__convert__closures________invoke__hdffa08aea87321dd_498: (a: number, b: number, c: number) => void;
1761
+ readonly wasm_bindgen__convert__closures________invoke__h04931c98de5bb4b8: (a: number, b: number, c: number) => void;
1762
+ readonly wasm_bindgen__convert__closures________invoke__h04931c98de5bb4b8_500: (a: number, b: number, c: number) => void;
1763
+ readonly wasm_bindgen__convert__closures________invoke__h1bdbcc61cf6ef43e: (a: number, b: number, c: number) => void;
1764
+ readonly wasm_bindgen__convert__closures________invoke__h1bdbcc61cf6ef43e_501: (a: number, b: number, c: number) => void;
1765
+ readonly wasm_bindgen__convert__closures________invoke__h1bdbcc61cf6ef43e_537: (a: number, b: number, c: number) => void;
1766
+ readonly wasm_bindgen__convert__closures________invoke__h1e795c02040be4d9: (a: number, b: number, c: number) => void;
1767
+ readonly wasm_bindgen__convert__closures________invoke__h2dc50941bd9dd382: (a: number, b: number, c: number) => void;
1768
+ readonly wasm_bindgen__convert__closures________invoke__h32fcfe7ce9a11c97: (a: number, b: number, c: number) => void;
1769
+ readonly wasm_bindgen__convert__closures________invoke__h32fcfe7ce9a11c97_466: (a: number, b: number, c: number) => void;
1770
+ readonly wasm_bindgen__convert__closures________invoke__h32fcfe7ce9a11c97_516: (a: number, b: number, c: number) => void;
1771
+ readonly wasm_bindgen__convert__closures________invoke__h35ed08fc0e09cf0f: (a: number, b: number, c: number) => void;
1772
+ readonly wasm_bindgen__convert__closures________invoke__h44a1ac3c6c7f377f: (a: number, b: number, c: number) => void;
1773
+ readonly wasm_bindgen__convert__closures________invoke__h58df60c43cb8090a: (a: number, b: number, c: number) => void;
1774
+ readonly wasm_bindgen__convert__closures________invoke__h7af4bb59875499ea: (a: number, b: number, c: number) => void;
1775
+ readonly wasm_bindgen__convert__closures________invoke__h7bcecd5ce3513945: (a: number, b: number, c: number) => void;
1776
+ readonly wasm_bindgen__convert__closures________invoke__h83d54f283484690d: (a: number, b: number, c: number) => void;
1777
+ readonly wasm_bindgen__convert__closures________invoke__h83d54f283484690d_492: (a: number, b: number, c: number) => void;
1778
+ readonly wasm_bindgen__convert__closures________invoke__hc6e5abbe53738aa0: (a: number, b: number, c: number) => void;
1779
+ readonly wasm_bindgen__convert__closures________invoke__hed5968fb86fca04f: (a: number, b: number, c: number) => void;
1780
+ readonly wasm_bindgen__convert__closures________invoke__hff4db74bfa8a94b6: (a: number, b: number, c: number) => void;
1756
1781
  readonly __wbindgen_malloc: (a: number, b: number) => number;
1757
1782
  readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
1758
1783
  readonly __wbindgen_exn_store: (a: number) => void;
package/wasm_wasm.js CHANGED
@@ -1,20 +1,20 @@
1
1
  /* @ts-self-types="./wasm_wasm.d.ts" */
2
- import { visitSdfBatchExport, visitSdfBatchRead, visitSdfDataset } from './snippets/wasm-wasm-30282a0f796f892b/inline0.js';
3
- import { visitSdfReadParams } from './snippets/wasm-wasm-30282a0f796f892b/inline1.js';
4
- import { visitDistanceMatrixParams } from './snippets/wasm-wasm-30282a0f796f892b/inline10.js';
5
- import { visitSanitizeParams } from './snippets/wasm-wasm-30282a0f796f892b/inline11.js';
6
- import { visitMol2Params, visitXyzParams } from './snippets/wasm-wasm-30282a0f796f892b/inline12.js';
7
- import { visitHydrogenAddParams, visitHydrogenRemoveParams } from './snippets/wasm-wasm-30282a0f796f892b/inline13.js';
8
- import { visitGroupId, visitGroupKind } from './snippets/wasm-wasm-30282a0f796f892b/inline2.js';
9
- import { visitSupplierParams } from './snippets/wasm-wasm-30282a0f796f892b/inline3.js';
10
- import { visit_batch_records } from './snippets/wasm-wasm-30282a0f796f892b/inline4.js';
11
- import { visitMolProperties, visitMolQuery, visitMolSelection, visitMolWriteParams } from './snippets/wasm-wasm-30282a0f796f892b/inline5.js';
12
- import { visit_sanitize_operations } from './snippets/wasm-wasm-30282a0f796f892b/inline6.js';
13
- import { visitRingSearchParams } from './snippets/wasm-wasm-30282a0f796f892b/inline7.js';
14
- import { visitKekulizeParams } from './snippets/wasm-wasm-30282a0f796f892b/inline8.js';
15
- import { visitDistanceMatrix3dParams } from './snippets/wasm-wasm-30282a0f796f892b/inline9.js';
16
- import * as import1 from "./snippets/wasm-wasm-30282a0f796f892b/inline0.js"
17
- import * as import2 from "./snippets/wasm-wasm-30282a0f796f892b/inline3.js"
2
+ import { visitSdfBatchExport, visitSdfBatchRead, visitSdfDataset } from './snippets/wasm-wasm-6920c347788a3bef/inline0.js';
3
+ import { visitSdfReadParams } from './snippets/wasm-wasm-6920c347788a3bef/inline1.js';
4
+ import { visitDistanceMatrix3dParams } from './snippets/wasm-wasm-6920c347788a3bef/inline10.js';
5
+ import { visitSanitizeParams } from './snippets/wasm-wasm-6920c347788a3bef/inline11.js';
6
+ import { visitMol2Params, visitXyzParams } from './snippets/wasm-wasm-6920c347788a3bef/inline12.js';
7
+ import { visitHydrogenAddParams, visitHydrogenRemoveParams } from './snippets/wasm-wasm-6920c347788a3bef/inline13.js';
8
+ import { visitGroupId, visitGroupKind } from './snippets/wasm-wasm-6920c347788a3bef/inline2.js';
9
+ import { visitSupplierParams } from './snippets/wasm-wasm-6920c347788a3bef/inline3.js';
10
+ import { visit_batch_records } from './snippets/wasm-wasm-6920c347788a3bef/inline4.js';
11
+ import { visitMolProperties, visitMolQuery, visitMolSelection, visitMolWriteParams } from './snippets/wasm-wasm-6920c347788a3bef/inline5.js';
12
+ import { visit_sanitize_operations } from './snippets/wasm-wasm-6920c347788a3bef/inline6.js';
13
+ import { visitRingSearchParams } from './snippets/wasm-wasm-6920c347788a3bef/inline7.js';
14
+ import { visitKekulizeParams } from './snippets/wasm-wasm-6920c347788a3bef/inline8.js';
15
+ import { visitDistanceMatrixParams } from './snippets/wasm-wasm-6920c347788a3bef/inline9.js';
16
+ import * as import1 from "./snippets/wasm-wasm-6920c347788a3bef/inline0.js"
17
+ import * as import2 from "./snippets/wasm-wasm-6920c347788a3bef/inline3.js"
18
18
 
19
19
 
20
20
  export class AddHsParams {
@@ -2351,6 +2351,21 @@ export class Molecule {
2351
2351
  }
2352
2352
  return takeFromExternrefTable0(ret[0]);
2353
2353
  }
2354
+ /**
2355
+ * Read typed user metadata; a missing key returns null.
2356
+ * @param {number} atom
2357
+ * @param {string} key
2358
+ * @returns {boolean | number | string | number[] | string[] | null}
2359
+ */
2360
+ atomProperty(atom, key) {
2361
+ const ptr0 = passStringToWasm0(key, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2362
+ const len0 = WASM_VECTOR_LEN;
2363
+ const ret = wasm.molecule_atomProperty(this.__wbg_ptr, atom, ptr0, len0);
2364
+ if (ret[2]) {
2365
+ throw takeFromExternrefTable0(ret[1]);
2366
+ }
2367
+ return takeFromExternrefTable0(ret[0]);
2368
+ }
2354
2369
  /**
2355
2370
  * Returns atomic numbers in molecule atom order.
2356
2371
  * @returns {Uint8Array}
@@ -2470,6 +2485,19 @@ export class Molecule {
2470
2485
  }
2471
2486
  return takeFromExternrefTable0(ret[0]);
2472
2487
  }
2488
+ /**
2489
+ * Sanitized components in source order, including conformers; self is unchanged.
2490
+ * @returns {Molecule[]}
2491
+ */
2492
+ fragments() {
2493
+ const ret = wasm.molecule_fragments(this.__wbg_ptr);
2494
+ if (ret[3]) {
2495
+ throw takeFromExternrefTable0(ret[2]);
2496
+ }
2497
+ var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]);
2498
+ wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
2499
+ return v1;
2500
+ }
2473
2501
  /**
2474
2502
  * @param {string} text
2475
2503
  * @param {Mol2ReadParams} params
@@ -2621,6 +2649,17 @@ export class Molecule {
2621
2649
  throw takeFromExternrefTable0(ret[0]);
2622
2650
  }
2623
2651
  }
2652
+ /**
2653
+ * Most atoms, last on ties. Empty input throws OperationError.
2654
+ * @returns {Molecule}
2655
+ */
2656
+ largestFragment() {
2657
+ const ret = wasm.molecule_largestFragment(this.__wbg_ptr);
2658
+ if (ret[2]) {
2659
+ throw takeFromExternrefTable0(ret[1]);
2660
+ }
2661
+ return Molecule.__wrap(ret[0]);
2662
+ }
2624
2663
  /**
2625
2664
  * Returns the molecule name, or an empty string when no name is stored.
2626
2665
  * @returns {string}
@@ -2897,6 +2936,20 @@ export class Molecule {
2897
2936
  wasm.__wbindgen_free(deferred3_0, deferred3_1, 1);
2898
2937
  }
2899
2938
  }
2939
+ /**
2940
+ * Set metadata in place; COW keeps other molecule copies unchanged.
2941
+ * @param {number} atom
2942
+ * @param {string} key
2943
+ * @param {boolean | number | string | number[] | string[]} value
2944
+ */
2945
+ setAtomProperty(atom, key, value) {
2946
+ const ptr0 = passStringToWasm0(key, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2947
+ const len0 = WASM_VECTOR_LEN;
2948
+ const ret = wasm.molecule_setAtomProperty(this.__wbg_ptr, atom, ptr0, len0, value);
2949
+ if (ret[1]) {
2950
+ throw takeFromExternrefTable0(ret[0]);
2951
+ }
2952
+ }
2900
2953
  /**
2901
2954
  * @param {MolBlockWriteParams} params
2902
2955
  * @returns {string}
@@ -3218,6 +3271,22 @@ export class Molecule {
3218
3271
  }
3219
3272
  return Molecule.__wrap(ret[0]);
3220
3273
  }
3274
+ /**
3275
+ * Return a new molecule; the receiver and its shared copies are unchanged.
3276
+ * @param {number} atom
3277
+ * @param {string} key
3278
+ * @param {boolean | number | string | number[] | string[]} value
3279
+ * @returns {Molecule}
3280
+ */
3281
+ withAtomProperty(atom, key, value) {
3282
+ const ptr0 = passStringToWasm0(key, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3283
+ const len0 = WASM_VECTOR_LEN;
3284
+ const ret = wasm.molecule_withAtomProperty(this.__wbg_ptr, atom, ptr0, len0, value);
3285
+ if (ret[2]) {
3286
+ throw takeFromExternrefTable0(ret[1]);
3287
+ }
3288
+ return Molecule.__wrap(ret[0]);
3289
+ }
3221
3290
  /**
3222
3291
  * @param {AddHsParams} params
3223
3292
  * @returns {Molecule}
@@ -7478,14 +7547,14 @@ function __wbg_get_imports() {
7478
7547
  const ret = arg0.value;
7479
7548
  return ret;
7480
7549
  },
7481
- __wbg_visitDistanceMatrix3dParams_810bd31b364f77bd: function() { return handleError(function (arg0, arg1, arg2) {
7550
+ __wbg_visitDistanceMatrix3dParams_2de68859baa8be30: function() { return handleError(function (arg0, arg1, arg2) {
7482
7551
  try {
7483
7552
  var state0 = {a: arg1, b: arg2};
7484
7553
  var cb0 = (arg0) => {
7485
7554
  const a = state0.a;
7486
7555
  state0.a = 0;
7487
7556
  try {
7488
- return wasm_bindgen__convert__closures________invoke__h2548b8cd4d22d1cc_497(a, state0.b, arg0);
7557
+ return wasm_bindgen__convert__closures________invoke__h1bdbcc61cf6ef43e_501(a, state0.b, arg0);
7489
7558
  } finally {
7490
7559
  state0.a = a;
7491
7560
  }
@@ -7495,14 +7564,14 @@ function __wbg_get_imports() {
7495
7564
  state0.a = 0;
7496
7565
  }
7497
7566
  }, arguments); },
7498
- __wbg_visitDistanceMatrixParams_f83c45dd07860ab3: function() { return handleError(function (arg0, arg1, arg2) {
7567
+ __wbg_visitDistanceMatrixParams_857a95fbbd0073ba: function() { return handleError(function (arg0, arg1, arg2) {
7499
7568
  try {
7500
7569
  var state0 = {a: arg1, b: arg2};
7501
7570
  var cb0 = (arg0) => {
7502
7571
  const a = state0.a;
7503
7572
  state0.a = 0;
7504
7573
  try {
7505
- return wasm_bindgen__convert__closures________invoke__hdffa08aea87321dd_498(a, state0.b, arg0);
7574
+ return wasm_bindgen__convert__closures________invoke__h04931c98de5bb4b8_500(a, state0.b, arg0);
7506
7575
  } finally {
7507
7576
  state0.a = a;
7508
7577
  }
@@ -7512,14 +7581,14 @@ function __wbg_get_imports() {
7512
7581
  state0.a = 0;
7513
7582
  }
7514
7583
  }, arguments); },
7515
- __wbg_visitGroupId_51ca765fb7347b19: function() { return handleError(function (arg0, arg1, arg2) {
7584
+ __wbg_visitGroupId_6b490f3af6f041bf: function() { return handleError(function (arg0, arg1, arg2) {
7516
7585
  try {
7517
7586
  var state0 = {a: arg1, b: arg2};
7518
7587
  var cb0 = (arg0) => {
7519
7588
  const a = state0.a;
7520
7589
  state0.a = 0;
7521
7590
  try {
7522
- return wasm_bindgen__convert__closures________invoke__h1845ce5ce3724183(a, state0.b, arg0);
7591
+ return wasm_bindgen__convert__closures________invoke__h32fcfe7ce9a11c97(a, state0.b, arg0);
7523
7592
  } finally {
7524
7593
  state0.a = a;
7525
7594
  }
@@ -7529,14 +7598,14 @@ function __wbg_get_imports() {
7529
7598
  state0.a = 0;
7530
7599
  }
7531
7600
  }, arguments); },
7532
- __wbg_visitGroupKind_11d721cfd86c9f93: function() { return handleError(function (arg0, arg1, arg2) {
7601
+ __wbg_visitGroupKind_706269ce030a2e35: function() { return handleError(function (arg0, arg1, arg2) {
7533
7602
  try {
7534
7603
  var state0 = {a: arg1, b: arg2};
7535
7604
  var cb0 = (arg0) => {
7536
7605
  const a = state0.a;
7537
7606
  state0.a = 0;
7538
7607
  try {
7539
- return wasm_bindgen__convert__closures________invoke__h1e9a6cd30dcd31b2(a, state0.b, arg0);
7608
+ return wasm_bindgen__convert__closures________invoke__hff4db74bfa8a94b6(a, state0.b, arg0);
7540
7609
  } finally {
7541
7610
  state0.a = a;
7542
7611
  }
@@ -7546,14 +7615,14 @@ function __wbg_get_imports() {
7546
7615
  state0.a = 0;
7547
7616
  }
7548
7617
  }, arguments); },
7549
- __wbg_visitHydrogenAddParams_20398eee4fd0639b: function() { return handleError(function (arg0, arg1, arg2) {
7618
+ __wbg_visitHydrogenAddParams_e57313182e1b467a: function() { return handleError(function (arg0, arg1, arg2) {
7550
7619
  try {
7551
7620
  var state0 = {a: arg1, b: arg2};
7552
7621
  var cb0 = (arg0) => {
7553
7622
  const a = state0.a;
7554
7623
  state0.a = 0;
7555
7624
  try {
7556
- return wasm_bindgen__convert__closures________invoke__h090d8c23118f66ef(a, state0.b, arg0);
7625
+ return wasm_bindgen__convert__closures________invoke__h7bcecd5ce3513945(a, state0.b, arg0);
7557
7626
  } finally {
7558
7627
  state0.a = a;
7559
7628
  }
@@ -7563,14 +7632,14 @@ function __wbg_get_imports() {
7563
7632
  state0.a = 0;
7564
7633
  }
7565
7634
  }, arguments); },
7566
- __wbg_visitHydrogenRemoveParams_bb7d780b7c3159fe: function() { return handleError(function (arg0, arg1, arg2) {
7635
+ __wbg_visitHydrogenRemoveParams_2be6b02d98373bd6: function() { return handleError(function (arg0, arg1, arg2) {
7567
7636
  try {
7568
7637
  var state0 = {a: arg1, b: arg2};
7569
7638
  var cb0 = (arg0) => {
7570
7639
  const a = state0.a;
7571
7640
  state0.a = 0;
7572
7641
  try {
7573
- return wasm_bindgen__convert__closures________invoke__h986cdc9ac71868cc(a, state0.b, arg0);
7642
+ return wasm_bindgen__convert__closures________invoke__h35ed08fc0e09cf0f(a, state0.b, arg0);
7574
7643
  } finally {
7575
7644
  state0.a = a;
7576
7645
  }
@@ -7580,14 +7649,14 @@ function __wbg_get_imports() {
7580
7649
  state0.a = 0;
7581
7650
  }
7582
7651
  }, arguments); },
7583
- __wbg_visitKekulizeParams_5ca9ad2cd6a0105f: function() { return handleError(function (arg0, arg1, arg2) {
7652
+ __wbg_visitKekulizeParams_2b3f9fce3385db8d: function() { return handleError(function (arg0, arg1, arg2) {
7584
7653
  try {
7585
7654
  var state0 = {a: arg1, b: arg2};
7586
7655
  var cb0 = (arg0) => {
7587
7656
  const a = state0.a;
7588
7657
  state0.a = 0;
7589
7658
  try {
7590
- return wasm_bindgen__convert__closures________invoke__h0098ef223ed572d9_489(a, state0.b, arg0);
7659
+ return wasm_bindgen__convert__closures________invoke__h83d54f283484690d_492(a, state0.b, arg0);
7591
7660
  } finally {
7592
7661
  state0.a = a;
7593
7662
  }
@@ -7597,14 +7666,14 @@ function __wbg_get_imports() {
7597
7666
  state0.a = 0;
7598
7667
  }
7599
7668
  }, arguments); },
7600
- __wbg_visitMol2Params_5ba4d3fb63ac0901: function() { return handleError(function (arg0, arg1, arg2) {
7669
+ __wbg_visitMol2Params_c0ffc45ded1da8d2: function() { return handleError(function (arg0, arg1, arg2) {
7601
7670
  try {
7602
7671
  var state0 = {a: arg1, b: arg2};
7603
7672
  var cb0 = (arg0) => {
7604
7673
  const a = state0.a;
7605
7674
  state0.a = 0;
7606
7675
  try {
7607
- return wasm_bindgen__convert__closures________invoke__h5040c8a4b9a53d5d(a, state0.b, arg0);
7676
+ return wasm_bindgen__convert__closures________invoke__h1e795c02040be4d9(a, state0.b, arg0);
7608
7677
  } finally {
7609
7678
  state0.a = a;
7610
7679
  }
@@ -7614,14 +7683,14 @@ function __wbg_get_imports() {
7614
7683
  state0.a = 0;
7615
7684
  }
7616
7685
  }, arguments); },
7617
- __wbg_visitMolProperties_8822d8ebcfcf1d83: function() { return handleError(function (arg0, arg1, arg2) {
7686
+ __wbg_visitMolProperties_ed2d2b670af6670b: function() { return handleError(function (arg0, arg1, arg2) {
7618
7687
  try {
7619
7688
  var state0 = {a: arg1, b: arg2};
7620
7689
  var cb0 = (arg0) => {
7621
7690
  const a = state0.a;
7622
7691
  state0.a = 0;
7623
7692
  try {
7624
- return wasm_bindgen__convert__closures________invoke__hc5936bb1ae5b6036(a, state0.b, arg0);
7693
+ return wasm_bindgen__convert__closures________invoke__hed5968fb86fca04f(a, state0.b, arg0);
7625
7694
  } finally {
7626
7695
  state0.a = a;
7627
7696
  }
@@ -7631,14 +7700,14 @@ function __wbg_get_imports() {
7631
7700
  state0.a = 0;
7632
7701
  }
7633
7702
  }, arguments); },
7634
- __wbg_visitMolQuery_ccbda4eec89daf0d: function() { return handleError(function (arg0, arg1, arg2) {
7703
+ __wbg_visitMolQuery_0f28122dfe6d073e: function() { return handleError(function (arg0, arg1, arg2) {
7635
7704
  try {
7636
7705
  var state0 = {a: arg1, b: arg2};
7637
7706
  var cb0 = (arg0) => {
7638
7707
  const a = state0.a;
7639
7708
  state0.a = 0;
7640
7709
  try {
7641
- return wasm_bindgen__convert__closures________invoke__h904e6b75a2a624f2(a, state0.b, arg0);
7710
+ return wasm_bindgen__convert__closures________invoke__h7af4bb59875499ea(a, state0.b, arg0);
7642
7711
  } finally {
7643
7712
  state0.a = a;
7644
7713
  }
@@ -7648,14 +7717,14 @@ function __wbg_get_imports() {
7648
7717
  state0.a = 0;
7649
7718
  }
7650
7719
  }, arguments); },
7651
- __wbg_visitMolSelection_95dc7eb51b0e6ed3: function() { return handleError(function (arg0, arg1, arg2) {
7720
+ __wbg_visitMolSelection_080c2ea92590f0c7: function() { return handleError(function (arg0, arg1, arg2) {
7652
7721
  try {
7653
7722
  var state0 = {a: arg1, b: arg2};
7654
7723
  var cb0 = (arg0) => {
7655
7724
  const a = state0.a;
7656
7725
  state0.a = 0;
7657
7726
  try {
7658
- return wasm_bindgen__convert__closures________invoke__h0098ef223ed572d9(a, state0.b, arg0);
7727
+ return wasm_bindgen__convert__closures________invoke__h83d54f283484690d(a, state0.b, arg0);
7659
7728
  } finally {
7660
7729
  state0.a = a;
7661
7730
  }
@@ -7665,14 +7734,14 @@ function __wbg_get_imports() {
7665
7734
  state0.a = 0;
7666
7735
  }
7667
7736
  }, arguments); },
7668
- __wbg_visitMolWriteParams_90263e4c9c920224: function() { return handleError(function (arg0, arg1, arg2) {
7737
+ __wbg_visitMolWriteParams_96462971ac8f293f: function() { return handleError(function (arg0, arg1, arg2) {
7669
7738
  try {
7670
7739
  var state0 = {a: arg1, b: arg2};
7671
7740
  var cb0 = (arg0) => {
7672
7741
  const a = state0.a;
7673
7742
  state0.a = 0;
7674
7743
  try {
7675
- return wasm_bindgen__convert__closures________invoke__h6d734e71dc298b28(a, state0.b, arg0);
7744
+ return wasm_bindgen__convert__closures________invoke__h44a1ac3c6c7f377f(a, state0.b, arg0);
7676
7745
  } finally {
7677
7746
  state0.a = a;
7678
7747
  }
@@ -7682,14 +7751,14 @@ function __wbg_get_imports() {
7682
7751
  state0.a = 0;
7683
7752
  }
7684
7753
  }, arguments); },
7685
- __wbg_visitRingSearchParams_721b5bfb3dde82fa: function() { return handleError(function (arg0, arg1, arg2) {
7754
+ __wbg_visitRingSearchParams_b3e5cfbab7029e7d: function() { return handleError(function (arg0, arg1, arg2) {
7686
7755
  try {
7687
7756
  var state0 = {a: arg1, b: arg2};
7688
7757
  var cb0 = (arg0) => {
7689
7758
  const a = state0.a;
7690
7759
  state0.a = 0;
7691
7760
  try {
7692
- return wasm_bindgen__convert__closures________invoke__hdffa08aea87321dd(a, state0.b, arg0);
7761
+ return wasm_bindgen__convert__closures________invoke__h04931c98de5bb4b8(a, state0.b, arg0);
7693
7762
  } finally {
7694
7763
  state0.a = a;
7695
7764
  }
@@ -7699,14 +7768,14 @@ function __wbg_get_imports() {
7699
7768
  state0.a = 0;
7700
7769
  }
7701
7770
  }, arguments); },
7702
- __wbg_visitSanitizeParams_790fa5c39f17ee59: function() { return handleError(function (arg0, arg1, arg2) {
7771
+ __wbg_visitSanitizeParams_8084786865375e37: function() { return handleError(function (arg0, arg1, arg2) {
7703
7772
  try {
7704
7773
  var state0 = {a: arg1, b: arg2};
7705
7774
  var cb0 = (arg0) => {
7706
7775
  const a = state0.a;
7707
7776
  state0.a = 0;
7708
7777
  try {
7709
- return wasm_bindgen__convert__closures________invoke__h1845ce5ce3724183_513(a, state0.b, arg0);
7778
+ return wasm_bindgen__convert__closures________invoke__h32fcfe7ce9a11c97_516(a, state0.b, arg0);
7710
7779
  } finally {
7711
7780
  state0.a = a;
7712
7781
  }
@@ -7716,14 +7785,14 @@ function __wbg_get_imports() {
7716
7785
  state0.a = 0;
7717
7786
  }
7718
7787
  }, arguments); },
7719
- __wbg_visitSdfBatchExport_683ea67a31d618c6: function() { return handleError(function (arg0, arg1, arg2) {
7788
+ __wbg_visitSdfBatchExport_66c0fa26562495ce: function() { return handleError(function (arg0, arg1, arg2) {
7720
7789
  try {
7721
7790
  var state0 = {a: arg1, b: arg2};
7722
7791
  var cb0 = (arg0) => {
7723
7792
  const a = state0.a;
7724
7793
  state0.a = 0;
7725
7794
  try {
7726
- return wasm_bindgen__convert__closures________invoke__h2548b8cd4d22d1cc(a, state0.b, arg0);
7795
+ return wasm_bindgen__convert__closures________invoke__h1bdbcc61cf6ef43e(a, state0.b, arg0);
7727
7796
  } finally {
7728
7797
  state0.a = a;
7729
7798
  }
@@ -7733,14 +7802,14 @@ function __wbg_get_imports() {
7733
7802
  state0.a = 0;
7734
7803
  }
7735
7804
  }, arguments); },
7736
- __wbg_visitSdfBatchRead_ca73bbd18c270bef: function() { return handleError(function (arg0, arg1, arg2) {
7805
+ __wbg_visitSdfBatchRead_ce73e389c656d779: function() { return handleError(function (arg0, arg1, arg2) {
7737
7806
  try {
7738
7807
  var state0 = {a: arg1, b: arg2};
7739
7808
  var cb0 = (arg0) => {
7740
7809
  const a = state0.a;
7741
7810
  state0.a = 0;
7742
7811
  try {
7743
- return wasm_bindgen__convert__closures________invoke__h468156bc7fca1e00(a, state0.b, arg0);
7812
+ return wasm_bindgen__convert__closures________invoke__hc6e5abbe53738aa0(a, state0.b, arg0);
7744
7813
  } finally {
7745
7814
  state0.a = a;
7746
7815
  }
@@ -7750,14 +7819,14 @@ function __wbg_get_imports() {
7750
7819
  state0.a = 0;
7751
7820
  }
7752
7821
  }, arguments); },
7753
- __wbg_visitSdfDataset_206bb584e1c9ceb8: function() { return handleError(function (arg0, arg1, arg2) {
7822
+ __wbg_visitSdfDataset_26de56a7a5b0e28f: function() { return handleError(function (arg0, arg1, arg2) {
7754
7823
  try {
7755
7824
  var state0 = {a: arg1, b: arg2};
7756
7825
  var cb0 = (arg0) => {
7757
7826
  const a = state0.a;
7758
7827
  state0.a = 0;
7759
7828
  try {
7760
- return wasm_bindgen__convert__closures________invoke__h5581282dfa13cc36(a, state0.b, arg0);
7829
+ return wasm_bindgen__convert__closures________invoke__h58df60c43cb8090a(a, state0.b, arg0);
7761
7830
  } finally {
7762
7831
  state0.a = a;
7763
7832
  }
@@ -7767,14 +7836,14 @@ function __wbg_get_imports() {
7767
7836
  state0.a = 0;
7768
7837
  }
7769
7838
  }, arguments); },
7770
- __wbg_visitSdfReadParams_0f1e0f06960d63f7: function() { return handleError(function (arg0, arg1, arg2) {
7839
+ __wbg_visitSdfReadParams_3840e4a751ad8d6c: function() { return handleError(function (arg0, arg1, arg2) {
7771
7840
  try {
7772
7841
  var state0 = {a: arg1, b: arg2};
7773
7842
  var cb0 = (arg0) => {
7774
7843
  const a = state0.a;
7775
7844
  state0.a = 0;
7776
7845
  try {
7777
- return wasm_bindgen__convert__closures________invoke__h468156bc7fca1e00(a, state0.b, arg0);
7846
+ return wasm_bindgen__convert__closures________invoke__hc6e5abbe53738aa0(a, state0.b, arg0);
7778
7847
  } finally {
7779
7848
  state0.a = a;
7780
7849
  }
@@ -7784,14 +7853,14 @@ function __wbg_get_imports() {
7784
7853
  state0.a = 0;
7785
7854
  }
7786
7855
  }, arguments); },
7787
- __wbg_visitSupplierParams_6fc508a670b35166: function() { return handleError(function (arg0, arg1, arg2) {
7856
+ __wbg_visitSupplierParams_7394e1b3e410e7a9: function() { return handleError(function (arg0, arg1, arg2) {
7788
7857
  try {
7789
7858
  var state0 = {a: arg1, b: arg2};
7790
7859
  var cb0 = (arg0) => {
7791
7860
  const a = state0.a;
7792
7861
  state0.a = 0;
7793
7862
  try {
7794
- return wasm_bindgen__convert__closures________invoke__h468156bc7fca1e00(a, state0.b, arg0);
7863
+ return wasm_bindgen__convert__closures________invoke__hc6e5abbe53738aa0(a, state0.b, arg0);
7795
7864
  } finally {
7796
7865
  state0.a = a;
7797
7866
  }
@@ -7801,14 +7870,14 @@ function __wbg_get_imports() {
7801
7870
  state0.a = 0;
7802
7871
  }
7803
7872
  }, arguments); },
7804
- __wbg_visitXyzParams_9b3b8147f824bf39: function() { return handleError(function (arg0, arg1, arg2) {
7873
+ __wbg_visitXyzParams_96e131bde1b3f398: function() { return handleError(function (arg0, arg1, arg2) {
7805
7874
  try {
7806
7875
  var state0 = {a: arg1, b: arg2};
7807
7876
  var cb0 = (arg0) => {
7808
7877
  const a = state0.a;
7809
7878
  state0.a = 0;
7810
7879
  try {
7811
- return wasm_bindgen__convert__closures________invoke__h2548b8cd4d22d1cc_534(a, state0.b, arg0);
7880
+ return wasm_bindgen__convert__closures________invoke__h1bdbcc61cf6ef43e_537(a, state0.b, arg0);
7812
7881
  } finally {
7813
7882
  state0.a = a;
7814
7883
  }
@@ -7818,14 +7887,14 @@ function __wbg_get_imports() {
7818
7887
  state0.a = 0;
7819
7888
  }
7820
7889
  }, arguments); },
7821
- __wbg_visit_batch_records_78c6faf64c4d7709: function() { return handleError(function (arg0, arg1, arg2) {
7890
+ __wbg_visit_batch_records_d8b988e197ad49cf: function() { return handleError(function (arg0, arg1, arg2) {
7822
7891
  try {
7823
7892
  var state0 = {a: arg1, b: arg2};
7824
7893
  var cb0 = (arg0) => {
7825
7894
  const a = state0.a;
7826
7895
  state0.a = 0;
7827
7896
  try {
7828
- return wasm_bindgen__convert__closures________invoke__hca2f2ad0b0d15bd7(a, state0.b, arg0);
7897
+ return wasm_bindgen__convert__closures________invoke__h2dc50941bd9dd382(a, state0.b, arg0);
7829
7898
  } finally {
7830
7899
  state0.a = a;
7831
7900
  }
@@ -7835,14 +7904,14 @@ function __wbg_get_imports() {
7835
7904
  state0.a = 0;
7836
7905
  }
7837
7906
  }, arguments); },
7838
- __wbg_visit_sanitize_operations_be4311637c2a67a4: function() { return handleError(function (arg0, arg1, arg2) {
7907
+ __wbg_visit_sanitize_operations_2a75485596913f85: function() { return handleError(function (arg0, arg1, arg2) {
7839
7908
  try {
7840
7909
  var state0 = {a: arg1, b: arg2};
7841
7910
  var cb0 = (arg0) => {
7842
7911
  const a = state0.a;
7843
7912
  state0.a = 0;
7844
7913
  try {
7845
- return wasm_bindgen__convert__closures________invoke__h1845ce5ce3724183_463(a, state0.b, arg0);
7914
+ return wasm_bindgen__convert__closures________invoke__h32fcfe7ce9a11c97_466(a, state0.b, arg0);
7846
7915
  } finally {
7847
7916
  state0.a = a;
7848
7917
  }
@@ -7888,109 +7957,109 @@ function __wbg_get_imports() {
7888
7957
  return {
7889
7958
  __proto__: null,
7890
7959
  "./wasm_wasm_bg.js": import0,
7891
- "./snippets/wasm-wasm-30282a0f796f892b/inline0.js": import1,
7892
- "./snippets/wasm-wasm-30282a0f796f892b/inline3.js": import2,
7960
+ "./snippets/wasm-wasm-6920c347788a3bef/inline0.js": import1,
7961
+ "./snippets/wasm-wasm-6920c347788a3bef/inline3.js": import2,
7893
7962
  };
7894
7963
  }
7895
7964
 
7896
- function wasm_bindgen__convert__closures________invoke__h468156bc7fca1e00(arg0, arg1, arg2) {
7965
+ function wasm_bindgen__convert__closures________invoke__hc6e5abbe53738aa0(arg0, arg1, arg2) {
7897
7966
  _assertClass(arg2, SdfReadParams);
7898
- wasm.wasm_bindgen__convert__closures________invoke__h468156bc7fca1e00(arg0, arg1, arg2.__wbg_ptr);
7967
+ wasm.wasm_bindgen__convert__closures________invoke__hc6e5abbe53738aa0(arg0, arg1, arg2.__wbg_ptr);
7899
7968
  }
7900
7969
 
7901
- function wasm_bindgen__convert__closures________invoke__h2548b8cd4d22d1cc(arg0, arg1, arg2) {
7970
+ function wasm_bindgen__convert__closures________invoke__h1bdbcc61cf6ef43e(arg0, arg1, arg2) {
7902
7971
  _assertClass(arg2, BatchExportParams);
7903
- wasm.wasm_bindgen__convert__closures________invoke__h2548b8cd4d22d1cc(arg0, arg1, arg2.__wbg_ptr);
7972
+ wasm.wasm_bindgen__convert__closures________invoke__h1bdbcc61cf6ef43e(arg0, arg1, arg2.__wbg_ptr);
7904
7973
  }
7905
7974
 
7906
- function wasm_bindgen__convert__closures________invoke__h5581282dfa13cc36(arg0, arg1, arg2) {
7975
+ function wasm_bindgen__convert__closures________invoke__h58df60c43cb8090a(arg0, arg1, arg2) {
7907
7976
  _assertClass(arg2, SdfDataset);
7908
- wasm.wasm_bindgen__convert__closures________invoke__h5581282dfa13cc36(arg0, arg1, arg2.__wbg_ptr);
7977
+ wasm.wasm_bindgen__convert__closures________invoke__h58df60c43cb8090a(arg0, arg1, arg2.__wbg_ptr);
7909
7978
  }
7910
7979
 
7911
- function wasm_bindgen__convert__closures________invoke__h1845ce5ce3724183(arg0, arg1, arg2) {
7980
+ function wasm_bindgen__convert__closures________invoke__h32fcfe7ce9a11c97(arg0, arg1, arg2) {
7912
7981
  _assertClass(arg2, SubstanceGroupId);
7913
- wasm.wasm_bindgen__convert__closures________invoke__h1845ce5ce3724183(arg0, arg1, arg2.__wbg_ptr);
7982
+ wasm.wasm_bindgen__convert__closures________invoke__h32fcfe7ce9a11c97(arg0, arg1, arg2.__wbg_ptr);
7914
7983
  }
7915
7984
 
7916
- function wasm_bindgen__convert__closures________invoke__h1e9a6cd30dcd31b2(arg0, arg1, arg2) {
7985
+ function wasm_bindgen__convert__closures________invoke__hff4db74bfa8a94b6(arg0, arg1, arg2) {
7917
7986
  _assertClass(arg2, SubstanceGroupKind);
7918
- wasm.wasm_bindgen__convert__closures________invoke__h1e9a6cd30dcd31b2(arg0, arg1, arg2.__wbg_ptr);
7987
+ wasm.wasm_bindgen__convert__closures________invoke__hff4db74bfa8a94b6(arg0, arg1, arg2.__wbg_ptr);
7919
7988
  }
7920
7989
 
7921
- function wasm_bindgen__convert__closures________invoke__hca2f2ad0b0d15bd7(arg0, arg1, arg2) {
7990
+ function wasm_bindgen__convert__closures________invoke__h2dc50941bd9dd382(arg0, arg1, arg2) {
7922
7991
  _assertClass(arg2, BatchRecord);
7923
- wasm.wasm_bindgen__convert__closures________invoke__hca2f2ad0b0d15bd7(arg0, arg1, arg2.__wbg_ptr);
7992
+ wasm.wasm_bindgen__convert__closures________invoke__h2dc50941bd9dd382(arg0, arg1, arg2.__wbg_ptr);
7924
7993
  }
7925
7994
 
7926
- function wasm_bindgen__convert__closures________invoke__h0098ef223ed572d9(arg0, arg1, arg2) {
7995
+ function wasm_bindgen__convert__closures________invoke__h83d54f283484690d(arg0, arg1, arg2) {
7927
7996
  _assertClass(arg2, MolCoordinateSelection);
7928
- wasm.wasm_bindgen__convert__closures________invoke__h0098ef223ed572d9(arg0, arg1, arg2.__wbg_ptr);
7997
+ wasm.wasm_bindgen__convert__closures________invoke__h83d54f283484690d(arg0, arg1, arg2.__wbg_ptr);
7929
7998
  }
7930
7999
 
7931
- function wasm_bindgen__convert__closures________invoke__h6d734e71dc298b28(arg0, arg1, arg2) {
8000
+ function wasm_bindgen__convert__closures________invoke__h44a1ac3c6c7f377f(arg0, arg1, arg2) {
7932
8001
  _assertClass(arg2, MolBlockWriteParams);
7933
- wasm.wasm_bindgen__convert__closures________invoke__h6d734e71dc298b28(arg0, arg1, arg2.__wbg_ptr);
8002
+ wasm.wasm_bindgen__convert__closures________invoke__h44a1ac3c6c7f377f(arg0, arg1, arg2.__wbg_ptr);
7934
8003
  }
7935
8004
 
7936
- function wasm_bindgen__convert__closures________invoke__h904e6b75a2a624f2(arg0, arg1, arg2) {
8005
+ function wasm_bindgen__convert__closures________invoke__h7af4bb59875499ea(arg0, arg1, arg2) {
7937
8006
  _assertClass(arg2, QueryGraph);
7938
- wasm.wasm_bindgen__convert__closures________invoke__h904e6b75a2a624f2(arg0, arg1, arg2.__wbg_ptr);
8007
+ wasm.wasm_bindgen__convert__closures________invoke__h7af4bb59875499ea(arg0, arg1, arg2.__wbg_ptr);
7939
8008
  }
7940
8009
 
7941
- function wasm_bindgen__convert__closures________invoke__hc5936bb1ae5b6036(arg0, arg1, arg2) {
8010
+ function wasm_bindgen__convert__closures________invoke__hed5968fb86fca04f(arg0, arg1, arg2) {
7942
8011
  _assertClass(arg2, MoleculeProperties);
7943
- wasm.wasm_bindgen__convert__closures________invoke__hc5936bb1ae5b6036(arg0, arg1, arg2.__wbg_ptr);
8012
+ wasm.wasm_bindgen__convert__closures________invoke__hed5968fb86fca04f(arg0, arg1, arg2.__wbg_ptr);
7944
8013
  }
7945
8014
 
7946
- function wasm_bindgen__convert__closures________invoke__h1845ce5ce3724183_463(arg0, arg1, arg2) {
8015
+ function wasm_bindgen__convert__closures________invoke__h32fcfe7ce9a11c97_466(arg0, arg1, arg2) {
7947
8016
  _assertClass(arg2, SanitizeOperations);
7948
- wasm.wasm_bindgen__convert__closures________invoke__h1845ce5ce3724183_463(arg0, arg1, arg2.__wbg_ptr);
8017
+ wasm.wasm_bindgen__convert__closures________invoke__h32fcfe7ce9a11c97_466(arg0, arg1, arg2.__wbg_ptr);
7949
8018
  }
7950
8019
 
7951
- function wasm_bindgen__convert__closures________invoke__hdffa08aea87321dd(arg0, arg1, arg2) {
8020
+ function wasm_bindgen__convert__closures________invoke__h04931c98de5bb4b8(arg0, arg1, arg2) {
7952
8021
  _assertClass(arg2, RingSearchParams);
7953
- wasm.wasm_bindgen__convert__closures________invoke__hdffa08aea87321dd(arg0, arg1, arg2.__wbg_ptr);
8022
+ wasm.wasm_bindgen__convert__closures________invoke__h04931c98de5bb4b8(arg0, arg1, arg2.__wbg_ptr);
7954
8023
  }
7955
8024
 
7956
- function wasm_bindgen__convert__closures________invoke__h0098ef223ed572d9_489(arg0, arg1, arg2) {
8025
+ function wasm_bindgen__convert__closures________invoke__h83d54f283484690d_492(arg0, arg1, arg2) {
7957
8026
  _assertClass(arg2, KekulizeParams);
7958
- wasm.wasm_bindgen__convert__closures________invoke__h0098ef223ed572d9_489(arg0, arg1, arg2.__wbg_ptr);
8027
+ wasm.wasm_bindgen__convert__closures________invoke__h83d54f283484690d_492(arg0, arg1, arg2.__wbg_ptr);
7959
8028
  }
7960
8029
 
7961
- function wasm_bindgen__convert__closures________invoke__h2548b8cd4d22d1cc_497(arg0, arg1, arg2) {
7962
- _assertClass(arg2, DistanceMatrix3dParams);
7963
- wasm.wasm_bindgen__convert__closures________invoke__h2548b8cd4d22d1cc_497(arg0, arg1, arg2.__wbg_ptr);
8030
+ function wasm_bindgen__convert__closures________invoke__h04931c98de5bb4b8_500(arg0, arg1, arg2) {
8031
+ _assertClass(arg2, DistanceMatrixParams);
8032
+ wasm.wasm_bindgen__convert__closures________invoke__h04931c98de5bb4b8_500(arg0, arg1, arg2.__wbg_ptr);
7964
8033
  }
7965
8034
 
7966
- function wasm_bindgen__convert__closures________invoke__hdffa08aea87321dd_498(arg0, arg1, arg2) {
7967
- _assertClass(arg2, DistanceMatrixParams);
7968
- wasm.wasm_bindgen__convert__closures________invoke__hdffa08aea87321dd_498(arg0, arg1, arg2.__wbg_ptr);
8035
+ function wasm_bindgen__convert__closures________invoke__h1bdbcc61cf6ef43e_501(arg0, arg1, arg2) {
8036
+ _assertClass(arg2, DistanceMatrix3dParams);
8037
+ wasm.wasm_bindgen__convert__closures________invoke__h1bdbcc61cf6ef43e_501(arg0, arg1, arg2.__wbg_ptr);
7969
8038
  }
7970
8039
 
7971
- function wasm_bindgen__convert__closures________invoke__h1845ce5ce3724183_513(arg0, arg1, arg2) {
8040
+ function wasm_bindgen__convert__closures________invoke__h32fcfe7ce9a11c97_516(arg0, arg1, arg2) {
7972
8041
  _assertClass(arg2, SanitizeParams);
7973
- wasm.wasm_bindgen__convert__closures________invoke__h1845ce5ce3724183_513(arg0, arg1, arg2.__wbg_ptr);
8042
+ wasm.wasm_bindgen__convert__closures________invoke__h32fcfe7ce9a11c97_516(arg0, arg1, arg2.__wbg_ptr);
7974
8043
  }
7975
8044
 
7976
- function wasm_bindgen__convert__closures________invoke__h5040c8a4b9a53d5d(arg0, arg1, arg2) {
8045
+ function wasm_bindgen__convert__closures________invoke__h1e795c02040be4d9(arg0, arg1, arg2) {
7977
8046
  _assertClass(arg2, Mol2ReadParams);
7978
- wasm.wasm_bindgen__convert__closures________invoke__h5040c8a4b9a53d5d(arg0, arg1, arg2.__wbg_ptr);
8047
+ wasm.wasm_bindgen__convert__closures________invoke__h1e795c02040be4d9(arg0, arg1, arg2.__wbg_ptr);
7979
8048
  }
7980
8049
 
7981
- function wasm_bindgen__convert__closures________invoke__h2548b8cd4d22d1cc_534(arg0, arg1, arg2) {
8050
+ function wasm_bindgen__convert__closures________invoke__h1bdbcc61cf6ef43e_537(arg0, arg1, arg2) {
7982
8051
  _assertClass(arg2, XyzWriteParams);
7983
- wasm.wasm_bindgen__convert__closures________invoke__h2548b8cd4d22d1cc_534(arg0, arg1, arg2.__wbg_ptr);
8052
+ wasm.wasm_bindgen__convert__closures________invoke__h1bdbcc61cf6ef43e_537(arg0, arg1, arg2.__wbg_ptr);
7984
8053
  }
7985
8054
 
7986
- function wasm_bindgen__convert__closures________invoke__h090d8c23118f66ef(arg0, arg1, arg2) {
8055
+ function wasm_bindgen__convert__closures________invoke__h7bcecd5ce3513945(arg0, arg1, arg2) {
7987
8056
  _assertClass(arg2, AddHsParams);
7988
- wasm.wasm_bindgen__convert__closures________invoke__h090d8c23118f66ef(arg0, arg1, arg2.__wbg_ptr);
8057
+ wasm.wasm_bindgen__convert__closures________invoke__h7bcecd5ce3513945(arg0, arg1, arg2.__wbg_ptr);
7989
8058
  }
7990
8059
 
7991
- function wasm_bindgen__convert__closures________invoke__h986cdc9ac71868cc(arg0, arg1, arg2) {
8060
+ function wasm_bindgen__convert__closures________invoke__h35ed08fc0e09cf0f(arg0, arg1, arg2) {
7992
8061
  _assertClass(arg2, RemoveHsParams);
7993
- wasm.wasm_bindgen__convert__closures________invoke__h986cdc9ac71868cc(arg0, arg1, arg2.__wbg_ptr);
8062
+ wasm.wasm_bindgen__convert__closures________invoke__h35ed08fc0e09cf0f(arg0, arg1, arg2.__wbg_ptr);
7994
8063
  }
7995
8064
 
7996
8065
  const AddHsParamsFinalization = (typeof FinalizationRegistry === 'undefined')
package/wasm_wasm_bg.wasm CHANGED
Binary file
@@ -242,6 +242,7 @@ export const molecule_assignRingFamiliesWithParams: (a: number, b: any) => [numb
242
242
  export const molecule_assignRings: (a: number) => [number, number];
243
243
  export const molecule_assignValence: (a: number) => [number, number];
244
244
  export const molecule_assignValenceWithParams: (a: number, b: number) => [number, number];
245
+ export const molecule_atomProperty: (a: number, b: any, c: number, d: number) => [number, number, number];
245
246
  export const molecule_atomPropertyString: (a: number, b: any, c: number, d: number) => [number, number, number];
246
247
  export const molecule_atomicNumbers: (a: number) => [number, number];
247
248
  export const molecule_bondPropertyString: (a: number, b: any, c: number, d: number) => [number, number, number];
@@ -254,6 +255,7 @@ export const molecule_distanceMatrix3d: (a: number) => [number, number, number];
254
255
  export const molecule_distanceMatrix3dWithParams: (a: number, b: any) => [number, number, number];
255
256
  export const molecule_distanceMatrixWithParams: (a: number, b: any) => [number, number, number];
256
257
  export const molecule_findChiralCenters: (a: number, b: any) => [number, number, number];
258
+ export const molecule_fragments: (a: number) => [number, number, number, number];
257
259
  export const molecule_fromMol: (a: number, b: number) => [number, number, number];
258
260
  export const molecule_fromMol2: (a: number, b: number) => [number, number, number];
259
261
  export const molecule_fromMol2WithParams: (a: number, b: number, c: any) => [number, number, number];
@@ -266,6 +268,7 @@ export const molecule_fromSmilesWithSanitize: (a: number, b: number, c: any) =>
266
268
  export const molecule_fromXyzBlock: (a: number, b: number) => [number, number, number];
267
269
  export const molecule_kekulizeBonds: (a: number) => [number, number];
268
270
  export const molecule_kekulizeBondsWithParams: (a: number, b: any) => [number, number];
271
+ export const molecule_largestFragment: (a: number) => [number, number, number];
269
272
  export const molecule_nameOrEmpty: (a: number) => [number, number, number, number];
270
273
  export const molecule_new: () => number;
271
274
  export const molecule_numAtoms: (a: number) => number;
@@ -288,6 +291,7 @@ export const molecule_sanitizeWithParams_: (a: number, b: any) => [number, numbe
288
291
  export const molecule_sanitize_: (a: number) => [number, number];
289
292
  export const molecule_sdfDataFieldNames: (a: number) => [number, number, number, number];
290
293
  export const molecule_sdfDataFieldOrEmpty: (a: number, b: number, c: number) => [number, number, number, number];
294
+ export const molecule_setAtomProperty: (a: number, b: any, c: number, d: number, e: any) => [number, number];
291
295
  export const molecule_toMol: (a: number) => [number, number, number, number];
292
296
  export const molecule_toMolWithParams: (a: number, b: any) => [number, number, number, number];
293
297
  export const molecule_toSdf: (a: number) => [number, number, number, number];
@@ -307,6 +311,7 @@ export const molecule_withAssignedRingFamiliesWithParams: (a: number, b: any) =>
307
311
  export const molecule_withAssignedRings: (a: number) => [number, number, number];
308
312
  export const molecule_withAssignedValence: (a: number) => [number, number, number];
309
313
  export const molecule_withAssignedValenceWithParams: (a: number, b: number) => [number, number, number];
314
+ export const molecule_withAtomProperty: (a: number, b: any, c: number, d: number, e: any) => [number, number, number];
310
315
  export const molecule_withHydrogens: (a: number) => [number, number, number];
311
316
  export const molecule_withHydrogensWithParams: (a: number, b: any) => [number, number, number];
312
317
  export const molecule_withKekulizedBonds: (a: number) => [number, number, number];
@@ -627,26 +632,26 @@ export const xyzwriteerror_message: (a: number) => [number, number];
627
632
  export const xyzwriteparams_conformerId: (a: number) => any;
628
633
  export const xyzwriteparams_new: (a: any, b: any) => [number, number, number];
629
634
  export const xyzwriteparams_precision: (a: number) => number;
630
- export const wasm_bindgen__convert__closures________invoke__h0098ef223ed572d9: (a: number, b: number, c: number) => void;
631
- export const wasm_bindgen__convert__closures________invoke__h0098ef223ed572d9_489: (a: number, b: number, c: number) => void;
632
- export const wasm_bindgen__convert__closures________invoke__h090d8c23118f66ef: (a: number, b: number, c: number) => void;
633
- export const wasm_bindgen__convert__closures________invoke__h1845ce5ce3724183: (a: number, b: number, c: number) => void;
634
- export const wasm_bindgen__convert__closures________invoke__h1845ce5ce3724183_463: (a: number, b: number, c: number) => void;
635
- export const wasm_bindgen__convert__closures________invoke__h1845ce5ce3724183_513: (a: number, b: number, c: number) => void;
636
- export const wasm_bindgen__convert__closures________invoke__h1e9a6cd30dcd31b2: (a: number, b: number, c: number) => void;
637
- export const wasm_bindgen__convert__closures________invoke__h2548b8cd4d22d1cc: (a: number, b: number, c: number) => void;
638
- export const wasm_bindgen__convert__closures________invoke__h2548b8cd4d22d1cc_497: (a: number, b: number, c: number) => void;
639
- export const wasm_bindgen__convert__closures________invoke__h2548b8cd4d22d1cc_534: (a: number, b: number, c: number) => void;
640
- export const wasm_bindgen__convert__closures________invoke__h468156bc7fca1e00: (a: number, b: number, c: number) => void;
641
- export const wasm_bindgen__convert__closures________invoke__h5040c8a4b9a53d5d: (a: number, b: number, c: number) => void;
642
- export const wasm_bindgen__convert__closures________invoke__h5581282dfa13cc36: (a: number, b: number, c: number) => void;
643
- export const wasm_bindgen__convert__closures________invoke__h6d734e71dc298b28: (a: number, b: number, c: number) => void;
644
- export const wasm_bindgen__convert__closures________invoke__h904e6b75a2a624f2: (a: number, b: number, c: number) => void;
645
- export const wasm_bindgen__convert__closures________invoke__h986cdc9ac71868cc: (a: number, b: number, c: number) => void;
646
- export const wasm_bindgen__convert__closures________invoke__hc5936bb1ae5b6036: (a: number, b: number, c: number) => void;
647
- export const wasm_bindgen__convert__closures________invoke__hca2f2ad0b0d15bd7: (a: number, b: number, c: number) => void;
648
- export const wasm_bindgen__convert__closures________invoke__hdffa08aea87321dd: (a: number, b: number, c: number) => void;
649
- export const wasm_bindgen__convert__closures________invoke__hdffa08aea87321dd_498: (a: number, b: number, c: number) => void;
635
+ export const wasm_bindgen__convert__closures________invoke__h04931c98de5bb4b8: (a: number, b: number, c: number) => void;
636
+ export const wasm_bindgen__convert__closures________invoke__h04931c98de5bb4b8_500: (a: number, b: number, c: number) => void;
637
+ export const wasm_bindgen__convert__closures________invoke__h1bdbcc61cf6ef43e: (a: number, b: number, c: number) => void;
638
+ export const wasm_bindgen__convert__closures________invoke__h1bdbcc61cf6ef43e_501: (a: number, b: number, c: number) => void;
639
+ export const wasm_bindgen__convert__closures________invoke__h1bdbcc61cf6ef43e_537: (a: number, b: number, c: number) => void;
640
+ export const wasm_bindgen__convert__closures________invoke__h1e795c02040be4d9: (a: number, b: number, c: number) => void;
641
+ export const wasm_bindgen__convert__closures________invoke__h2dc50941bd9dd382: (a: number, b: number, c: number) => void;
642
+ export const wasm_bindgen__convert__closures________invoke__h32fcfe7ce9a11c97: (a: number, b: number, c: number) => void;
643
+ export const wasm_bindgen__convert__closures________invoke__h32fcfe7ce9a11c97_466: (a: number, b: number, c: number) => void;
644
+ export const wasm_bindgen__convert__closures________invoke__h32fcfe7ce9a11c97_516: (a: number, b: number, c: number) => void;
645
+ export const wasm_bindgen__convert__closures________invoke__h35ed08fc0e09cf0f: (a: number, b: number, c: number) => void;
646
+ export const wasm_bindgen__convert__closures________invoke__h44a1ac3c6c7f377f: (a: number, b: number, c: number) => void;
647
+ export const wasm_bindgen__convert__closures________invoke__h58df60c43cb8090a: (a: number, b: number, c: number) => void;
648
+ export const wasm_bindgen__convert__closures________invoke__h7af4bb59875499ea: (a: number, b: number, c: number) => void;
649
+ export const wasm_bindgen__convert__closures________invoke__h7bcecd5ce3513945: (a: number, b: number, c: number) => void;
650
+ export const wasm_bindgen__convert__closures________invoke__h83d54f283484690d: (a: number, b: number, c: number) => void;
651
+ export const wasm_bindgen__convert__closures________invoke__h83d54f283484690d_492: (a: number, b: number, c: number) => void;
652
+ export const wasm_bindgen__convert__closures________invoke__hc6e5abbe53738aa0: (a: number, b: number, c: number) => void;
653
+ export const wasm_bindgen__convert__closures________invoke__hed5968fb86fca04f: (a: number, b: number, c: number) => void;
654
+ export const wasm_bindgen__convert__closures________invoke__hff4db74bfa8a94b6: (a: number, b: number, c: number) => void;
650
655
  export const __wbindgen_malloc: (a: number, b: number) => number;
651
656
  export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
652
657
  export const __wbindgen_exn_store: (a: number) => void;