@cosmol-studio/cosmolkit-core-bio 0.6.0-rc.3 → 0.6.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/README.md +1 -1
- package/cosmolkit_wasm.d.ts +43 -34
- package/cosmolkit_wasm.js +368 -348
- package/cosmolkit_wasm_bg.wasm +0 -0
- package/cosmolkit_wasm_bg.wasm.d.ts +28 -27
- package/package.json +3 -3
- /package/snippets/{cosmolkit-wasm-040a2f2061bcbda8 → cosmolkit-wasm-c27ddf7a9616d0a4}/src/readonly_map.js +0 -0
package/README.md
CHANGED
package/cosmolkit_wasm.d.ts
CHANGED
|
@@ -62,7 +62,8 @@ export interface BatchQueryParamsOptions {
|
|
|
62
62
|
*/
|
|
63
63
|
progressBar?: BatchQueryParams["progressBar"];
|
|
64
64
|
/**
|
|
65
|
-
* One notification after every completed
|
|
65
|
+
* One notification after every completed query row. Retained input errors
|
|
66
|
+
* reject the query before any notification.
|
|
66
67
|
*/
|
|
67
68
|
progressCallback?: BatchQueryParams["progressCallback"];
|
|
68
69
|
}
|
|
@@ -1547,7 +1548,8 @@ export class BatchParams {
|
|
|
1547
1548
|
}
|
|
1548
1549
|
|
|
1549
1550
|
/**
|
|
1550
|
-
* Runtime overrides for ordered read results;
|
|
1551
|
+
* Runtime overrides for ordered read results; retained failures reject a query
|
|
1552
|
+
* before computation. New query failures also raise.
|
|
1551
1553
|
*/
|
|
1552
1554
|
export class BatchQueryParams {
|
|
1553
1555
|
free(): void;
|
|
@@ -1565,7 +1567,8 @@ export class BatchQueryParams {
|
|
|
1565
1567
|
get progressBar(): boolean | undefined;
|
|
1566
1568
|
set progressBar(value: BoolInput | null | undefined);
|
|
1567
1569
|
/**
|
|
1568
|
-
* One notification after every completed
|
|
1570
|
+
* One notification after every completed query row. Retained input errors
|
|
1571
|
+
* reject the query before any notification.
|
|
1569
1572
|
*/
|
|
1570
1573
|
get progressCallback(): (() => void) | undefined;
|
|
1571
1574
|
set progressCallback(value: (() => void) | null | undefined);
|
|
@@ -3911,8 +3914,8 @@ export class CxSmilesFields {
|
|
|
3911
3914
|
[Symbol.dispose](): void;
|
|
3912
3915
|
contains(other: CxSmilesFields): boolean;
|
|
3913
3916
|
union(other: CxSmilesFields): CxSmilesFields;
|
|
3914
|
-
static readonly ALL: CxSmilesFields;
|
|
3915
3917
|
static readonly ALL_BUT_COORDS: CxSmilesFields;
|
|
3918
|
+
static readonly ALL: CxSmilesFields;
|
|
3916
3919
|
static readonly ATOM_LABELS: CxSmilesFields;
|
|
3917
3920
|
static readonly ATOM_PROPS: CxSmilesFields;
|
|
3918
3921
|
static readonly BOND_ATROPISOMER: CxSmilesFields;
|
|
@@ -5695,6 +5698,11 @@ export class Molecule {
|
|
|
5695
5698
|
atomPropertyString(atom: IndexInput, key: TextInput): string | undefined;
|
|
5696
5699
|
atomPropertyUint(atom: IndexInput, key: TextInput): number | undefined;
|
|
5697
5700
|
atom(index: IndexInput): MoleculeAtom | undefined;
|
|
5701
|
+
/**
|
|
5702
|
+
* Return an independent Uint8Array of atomic numbers in atom-index order.
|
|
5703
|
+
* No atom handles are created; dummy atoms are zero. No free() is needed.
|
|
5704
|
+
*/
|
|
5705
|
+
atomicNumbers(): Uint8Array;
|
|
5698
5706
|
bondPropertyString(bond: IndexInput, key: TextInput): string | undefined;
|
|
5699
5707
|
bond(index: IndexInput): Bond | undefined;
|
|
5700
5708
|
clear3dConformers_(): void;
|
|
@@ -5733,10 +5741,10 @@ export class Molecule {
|
|
|
5733
5741
|
property(key: TextInput): PropertyValue | undefined;
|
|
5734
5742
|
removeHydrogensWithParams_(params: RemoveHsParams | RemoveHsParamsOptions): void;
|
|
5735
5743
|
removeHydrogens_(params?: RemoveHsParams | RemoveHsParamsOptions | null): void;
|
|
5736
|
-
sanitizeWithParams(params: SanitizeParams | SanitizeParamsOptions): Molecule;
|
|
5737
5744
|
sanitizeWithParams_(params: SanitizeParams | SanitizeParamsOptions): void;
|
|
5738
|
-
|
|
5745
|
+
sanitizeWithParams(params: SanitizeParams | SanitizeParamsOptions): Molecule;
|
|
5739
5746
|
sanitize_(params?: SanitizeParams | SanitizeParamsOptions | null): void;
|
|
5747
|
+
sanitize(params?: SanitizeParams | SanitizeParamsOptions | null): Molecule;
|
|
5740
5748
|
set2dCoordinatesWithParams_(coordinates: CoordinateRows, params: Coordinate2DInputParams | Coordinate2DInputParamsOptions): void;
|
|
5741
5749
|
set2dCoordinates_(coordinates: CoordinateRows, params?: Coordinate2DInputParams | Coordinate2DInputParamsOptions | null): void;
|
|
5742
5750
|
set3dCoordinatesWithParams_(coordinates: Coordinates3D, params: Replace3DCoordinatesParams | Replace3DCoordinatesParamsOptions): void;
|
|
@@ -8495,10 +8503,10 @@ export class SanitizeOperations {
|
|
|
8495
8503
|
union(other: SanitizeOperations): SanitizeOperations;
|
|
8496
8504
|
static readonly ADJUST_HS: SanitizeOperations;
|
|
8497
8505
|
static readonly ALL: SanitizeOperations;
|
|
8498
|
-
static readonly CLEANUP: SanitizeOperations;
|
|
8499
8506
|
static readonly CLEANUP_ATROPISOMERS: SanitizeOperations;
|
|
8500
8507
|
static readonly CLEANUP_CHIRALITY: SanitizeOperations;
|
|
8501
8508
|
static readonly CLEANUP_ORGANOMETALLICS: SanitizeOperations;
|
|
8509
|
+
static readonly CLEANUP: SanitizeOperations;
|
|
8502
8510
|
static readonly FIND_RADICALS: SanitizeOperations;
|
|
8503
8511
|
static readonly KEKULIZE: SanitizeOperations;
|
|
8504
8512
|
static readonly NONE: SanitizeOperations;
|
|
@@ -12172,6 +12180,7 @@ export interface InitOutput {
|
|
|
12172
12180
|
readonly molecule_atomPropertyString: (a: number, b: number, c: number, d: number) => void;
|
|
12173
12181
|
readonly molecule_atomPropertyStringVector: (a: number, b: number, c: number, d: number) => void;
|
|
12174
12182
|
readonly molecule_atomPropertyUint: (a: number, b: number, c: number, d: number) => void;
|
|
12183
|
+
readonly molecule_atomicNumbers: (a: number, b: number) => void;
|
|
12175
12184
|
readonly molecule_atoms: (a: number, b: number) => void;
|
|
12176
12185
|
readonly molecule_bond: (a: number, b: number, c: number) => void;
|
|
12177
12186
|
readonly molecule_bondPropertyString: (a: number, b: number, c: number, d: number) => void;
|
|
@@ -13760,37 +13769,37 @@ export interface InitOutput {
|
|
|
13760
13769
|
readonly xyzwriteparams_set_conformerId: (a: number, b: number, c: number) => void;
|
|
13761
13770
|
readonly xyzwriteparams_set_precision: (a: number, b: number, c: number) => void;
|
|
13762
13771
|
readonly __wasm_bindgen_func_elem_700: (a: number, b: number, c: number) => void;
|
|
13763
|
-
readonly
|
|
13764
|
-
readonly __wasm_bindgen_func_elem_700_3321: (a: number, b: number, c: number) => void;
|
|
13772
|
+
readonly __wasm_bindgen_func_elem_700_3319: (a: number, b: number, c: number) => void;
|
|
13765
13773
|
readonly __wasm_bindgen_func_elem_700_3322: (a: number, b: number, c: number) => void;
|
|
13766
13774
|
readonly __wasm_bindgen_func_elem_700_3323: (a: number, b: number, c: number) => void;
|
|
13767
|
-
readonly
|
|
13775
|
+
readonly __wasm_bindgen_func_elem_700_3324: (a: number, b: number, c: number) => void;
|
|
13768
13776
|
readonly __wasm_bindgen_func_elem_700_3326: (a: number, b: number, c: number) => void;
|
|
13769
|
-
readonly
|
|
13770
|
-
readonly
|
|
13771
|
-
readonly
|
|
13777
|
+
readonly __wasm_bindgen_func_elem_700_3327: (a: number, b: number, c: number) => void;
|
|
13778
|
+
readonly __wasm_bindgen_func_elem_700_3331: (a: number, b: number, c: number) => void;
|
|
13779
|
+
readonly __wasm_bindgen_func_elem_700_3344: (a: number, b: number, c: number) => void;
|
|
13772
13780
|
readonly __wasm_bindgen_func_elem_700_3349: (a: number, b: number, c: number) => void;
|
|
13773
13781
|
readonly __wasm_bindgen_func_elem_700_3350: (a: number, b: number, c: number) => void;
|
|
13774
13782
|
readonly __wasm_bindgen_func_elem_700_3351: (a: number, b: number, c: number) => void;
|
|
13775
|
-
readonly
|
|
13783
|
+
readonly __wasm_bindgen_func_elem_700_3352: (a: number, b: number, c: number) => void;
|
|
13776
13784
|
readonly __wasm_bindgen_func_elem_700_3354: (a: number, b: number, c: number) => void;
|
|
13777
|
-
readonly
|
|
13785
|
+
readonly __wasm_bindgen_func_elem_700_3355: (a: number, b: number, c: number) => void;
|
|
13778
13786
|
readonly __wasm_bindgen_func_elem_700_3364: (a: number, b: number, c: number) => void;
|
|
13779
13787
|
readonly __wasm_bindgen_func_elem_700_3365: (a: number, b: number, c: number) => void;
|
|
13780
13788
|
readonly __wasm_bindgen_func_elem_700_3366: (a: number, b: number, c: number) => void;
|
|
13781
|
-
readonly
|
|
13789
|
+
readonly __wasm_bindgen_func_elem_700_3367: (a: number, b: number, c: number) => void;
|
|
13782
13790
|
readonly __wasm_bindgen_func_elem_700_3370: (a: number, b: number, c: number) => void;
|
|
13783
13791
|
readonly __wasm_bindgen_func_elem_700_3371: (a: number, b: number, c: number) => void;
|
|
13784
13792
|
readonly __wasm_bindgen_func_elem_700_3372: (a: number, b: number, c: number) => void;
|
|
13785
|
-
readonly
|
|
13786
|
-
readonly
|
|
13787
|
-
readonly
|
|
13793
|
+
readonly __wasm_bindgen_func_elem_700_3373: (a: number, b: number, c: number) => void;
|
|
13794
|
+
readonly __wasm_bindgen_func_elem_700_3403: (a: number, b: number, c: number) => void;
|
|
13795
|
+
readonly __wasm_bindgen_func_elem_700_3410: (a: number, b: number, c: number) => void;
|
|
13788
13796
|
readonly __wasm_bindgen_func_elem_700_3412: (a: number, b: number, c: number) => void;
|
|
13789
|
-
readonly
|
|
13790
|
-
readonly
|
|
13797
|
+
readonly __wasm_bindgen_func_elem_700_3413: (a: number, b: number, c: number) => void;
|
|
13798
|
+
readonly __wasm_bindgen_func_elem_700_3415: (a: number, b: number, c: number) => void;
|
|
13791
13799
|
readonly __wasm_bindgen_func_elem_700_3417: (a: number, b: number, c: number) => void;
|
|
13792
13800
|
readonly __wasm_bindgen_func_elem_700_3418: (a: number, b: number, c: number) => void;
|
|
13793
13801
|
readonly __wasm_bindgen_func_elem_700_3419: (a: number, b: number, c: number) => void;
|
|
13802
|
+
readonly __wasm_bindgen_func_elem_700_3420: (a: number, b: number, c: number) => void;
|
|
13794
13803
|
readonly __wasm_bindgen_func_elem_700_37: (a: number, b: number, c: number) => void;
|
|
13795
13804
|
readonly __wasm_bindgen_func_elem_700_39: (a: number, b: number, c: number) => void;
|
|
13796
13805
|
readonly __wasm_bindgen_func_elem_700_40: (a: number, b: number, c: number) => void;
|
|
@@ -13800,7 +13809,7 @@ export interface InitOutput {
|
|
|
13800
13809
|
readonly __wasm_bindgen_func_elem_709: (a: number, b: number, c: number) => void;
|
|
13801
13810
|
readonly __wasm_bindgen_func_elem_711: (a: number, b: number, c: number) => void;
|
|
13802
13811
|
readonly __wasm_bindgen_func_elem_713: (a: number, b: number, c: number) => void;
|
|
13803
|
-
readonly
|
|
13812
|
+
readonly __wasm_bindgen_func_elem_713_2427: (a: number, b: number, c: number) => void;
|
|
13804
13813
|
readonly __wasm_bindgen_func_elem_715: (a: number, b: number, c: number) => void;
|
|
13805
13814
|
readonly __wasm_bindgen_func_elem_717: (a: number, b: number, c: number) => void;
|
|
13806
13815
|
readonly __wasm_bindgen_func_elem_719: (a: number, b: number, c: number) => void;
|
|
@@ -13819,18 +13828,18 @@ export interface InitOutput {
|
|
|
13819
13828
|
readonly __wasm_bindgen_func_elem_747: (a: number, b: number, c: number) => void;
|
|
13820
13829
|
readonly __wasm_bindgen_func_elem_751: (a: number, b: number, c: number) => void;
|
|
13821
13830
|
readonly __wasm_bindgen_func_elem_753: (a: number, b: number, c: number) => void;
|
|
13822
|
-
readonly
|
|
13823
|
-
readonly
|
|
13824
|
-
readonly
|
|
13825
|
-
readonly
|
|
13826
|
-
readonly
|
|
13831
|
+
readonly __wasm_bindgen_func_elem_753_3369: (a: number, b: number, c: number) => void;
|
|
13832
|
+
readonly __wasm_bindgen_func_elem_753_3386: (a: number, b: number, c: number) => void;
|
|
13833
|
+
readonly __wasm_bindgen_func_elem_753_3411: (a: number, b: number, c: number) => void;
|
|
13834
|
+
readonly __wasm_bindgen_func_elem_753_3414: (a: number, b: number, c: number) => void;
|
|
13835
|
+
readonly __wasm_bindgen_func_elem_753_3421: (a: number, b: number, c: number) => void;
|
|
13827
13836
|
readonly __wasm_bindgen_func_elem_754: (a: number, b: number, c: number) => void;
|
|
13828
13837
|
readonly __wasm_bindgen_func_elem_757: (a: number, b: number, c: number) => void;
|
|
13829
|
-
readonly
|
|
13830
|
-
readonly
|
|
13831
|
-
readonly
|
|
13832
|
-
readonly
|
|
13833
|
-
readonly
|
|
13838
|
+
readonly __wasm_bindgen_func_elem_757_3368: (a: number, b: number, c: number) => void;
|
|
13839
|
+
readonly __wasm_bindgen_func_elem_757_3387: (a: number, b: number, c: number) => void;
|
|
13840
|
+
readonly __wasm_bindgen_func_elem_757_3389: (a: number, b: number, c: number) => void;
|
|
13841
|
+
readonly __wasm_bindgen_func_elem_757_3398: (a: number, b: number, c: number) => void;
|
|
13842
|
+
readonly __wasm_bindgen_func_elem_757_3406: (a: number, b: number, c: number) => void;
|
|
13834
13843
|
readonly __wasm_bindgen_func_elem_763: (a: number, b: number, c: number) => void;
|
|
13835
13844
|
readonly __wasm_bindgen_func_elem_765: (a: number, b: number, c: number) => void;
|
|
13836
13845
|
readonly __wasm_bindgen_func_elem_767: (a: number, b: number, c: number) => void;
|
|
@@ -13849,9 +13858,9 @@ export interface InitOutput {
|
|
|
13849
13858
|
readonly __wasm_bindgen_func_elem_799: (a: number, b: number, c: number) => void;
|
|
13850
13859
|
readonly __wasm_bindgen_func_elem_801: (a: number, b: number, c: number) => void;
|
|
13851
13860
|
readonly __wasm_bindgen_func_elem_803: (a: number, b: number, c: number) => void;
|
|
13852
|
-
readonly
|
|
13861
|
+
readonly __wasm_bindgen_func_elem_803_3385: (a: number, b: number, c: number) => void;
|
|
13853
13862
|
readonly __wasm_bindgen_func_elem_804: (a: number, b: number, c: number) => void;
|
|
13854
|
-
readonly
|
|
13863
|
+
readonly __wasm_bindgen_func_elem_804_3402: (a: number, b: number, c: number) => void;
|
|
13855
13864
|
readonly __wasm_bindgen_func_elem_805: (a: number, b: number, c: number) => void;
|
|
13856
13865
|
readonly __wasm_bindgen_func_elem_807: (a: number, b: number, c: number) => void;
|
|
13857
13866
|
readonly __wasm_bindgen_func_elem_809: (a: number, b: number, c: number) => void;
|