@cosmol-studio/cosmolkit-core-analysis 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 CHANGED
@@ -1,4 +1,4 @@
1
- # COSMolKit for JavaScript and TypeScript
1
+ # COSMolKit 0.6 for JavaScript and TypeScript
2
2
 
3
3
  WebAssembly bindings to the public Rust API, with generated TypeScript declarations.
4
4
 
@@ -187,7 +187,8 @@ export interface BatchQueryParamsOptions {
187
187
  */
188
188
  progressBar?: BatchQueryParams["progressBar"];
189
189
  /**
190
- * One notification after every completed input row, including invalid rows.
190
+ * One notification after every completed query row. Retained input errors
191
+ * reject the query before any notification.
191
192
  */
192
193
  progressCallback?: BatchQueryParams["progressCallback"];
193
194
  }
@@ -2451,7 +2452,8 @@ export class BatchParams {
2451
2452
  }
2452
2453
 
2453
2454
  /**
2454
- * Runtime overrides for ordered read results; newly failed queries always raise.
2455
+ * Runtime overrides for ordered read results; retained failures reject a query
2456
+ * before computation. New query failures also raise.
2455
2457
  */
2456
2458
  export class BatchQueryParams {
2457
2459
  free(): void;
@@ -2469,7 +2471,8 @@ export class BatchQueryParams {
2469
2471
  get progressBar(): boolean | undefined;
2470
2472
  set progressBar(value: BoolInput | null | undefined);
2471
2473
  /**
2472
- * One notification after every completed input row, including invalid rows.
2474
+ * One notification after every completed query row. Retained input errors
2475
+ * reject the query before any notification.
2473
2476
  */
2474
2477
  get progressCallback(): (() => void) | undefined;
2475
2478
  set progressCallback(value: (() => void) | null | undefined);
@@ -3398,8 +3401,8 @@ export class CxSmilesFields {
3398
3401
  [Symbol.dispose](): void;
3399
3402
  contains(other: CxSmilesFields): boolean;
3400
3403
  union(other: CxSmilesFields): CxSmilesFields;
3401
- static readonly ALL: CxSmilesFields;
3402
3404
  static readonly ALL_BUT_COORDS: CxSmilesFields;
3405
+ static readonly ALL: CxSmilesFields;
3403
3406
  static readonly ATOM_LABELS: CxSmilesFields;
3404
3407
  static readonly ATOM_PROPS: CxSmilesFields;
3405
3408
  static readonly BOND_ATROPISOMER: CxSmilesFields;
@@ -5366,6 +5369,11 @@ export class Molecule {
5366
5369
  atomPropertyString(atom: IndexInput, key: TextInput): string | undefined;
5367
5370
  atomPropertyUint(atom: IndexInput, key: TextInput): number | undefined;
5368
5371
  atom(index: IndexInput): MoleculeAtom | undefined;
5372
+ /**
5373
+ * Return an independent Uint8Array of atomic numbers in atom-index order.
5374
+ * No atom handles are created; dummy atoms are zero. No free() is needed.
5375
+ */
5376
+ atomicNumbers(): Uint8Array;
5369
5377
  bondPropertyString(bond: IndexInput, key: TextInput): string | undefined;
5370
5378
  bond(index: IndexInput): Bond | undefined;
5371
5379
  chi0NWithParams(force: BoolInput): number;
@@ -5531,10 +5539,10 @@ export class Molecule {
5531
5539
  qed(): number;
5532
5540
  removeHydrogensWithParams_(params: RemoveHsParams | RemoveHsParamsOptions): void;
5533
5541
  removeHydrogens_(params?: RemoveHsParams | RemoveHsParamsOptions | null): void;
5534
- sanitizeWithParams(params: SanitizeParams | SanitizeParamsOptions): Molecule;
5535
5542
  sanitizeWithParams_(params: SanitizeParams | SanitizeParamsOptions): void;
5536
- sanitize(params?: SanitizeParams | SanitizeParamsOptions | null): Molecule;
5543
+ sanitizeWithParams(params: SanitizeParams | SanitizeParamsOptions): Molecule;
5537
5544
  sanitize_(params?: SanitizeParams | SanitizeParamsOptions | null): void;
5545
+ sanitize(params?: SanitizeParams | SanitizeParamsOptions | null): Molecule;
5538
5546
  set2dCoordinatesWithParams_(coordinates: CoordinateRows, params: Coordinate2DInputParams | Coordinate2DInputParamsOptions): void;
5539
5547
  set2dCoordinates_(coordinates: CoordinateRows, params?: Coordinate2DInputParams | Coordinate2DInputParamsOptions | null): void;
5540
5548
  set3dCoordinatesWithParams_(coordinates: Coordinates3D, params: Replace3DCoordinatesParams | Replace3DCoordinatesParamsOptions): void;
@@ -7662,10 +7670,10 @@ export class SanitizeOperations {
7662
7670
  union(other: SanitizeOperations): SanitizeOperations;
7663
7671
  static readonly ADJUST_HS: SanitizeOperations;
7664
7672
  static readonly ALL: SanitizeOperations;
7665
- static readonly CLEANUP: SanitizeOperations;
7666
7673
  static readonly CLEANUP_ATROPISOMERS: SanitizeOperations;
7667
7674
  static readonly CLEANUP_CHIRALITY: SanitizeOperations;
7668
7675
  static readonly CLEANUP_ORGANOMETALLICS: SanitizeOperations;
7676
+ static readonly CLEANUP: SanitizeOperations;
7669
7677
  static readonly FIND_RADICALS: SanitizeOperations;
7670
7678
  static readonly KEKULIZE: SanitizeOperations;
7671
7679
  static readonly NONE: SanitizeOperations;
@@ -11992,6 +12000,7 @@ export interface InitOutput {
11992
12000
  readonly molecule_atomPropertyString: (a: number, b: number, c: number, d: number) => void;
11993
12001
  readonly molecule_atomPropertyStringVector: (a: number, b: number, c: number, d: number) => void;
11994
12002
  readonly molecule_atomPropertyUint: (a: number, b: number, c: number, d: number) => void;
12003
+ readonly molecule_atomicNumbers: (a: number, b: number) => void;
11995
12004
  readonly molecule_atoms: (a: number, b: number) => void;
11996
12005
  readonly molecule_bond: (a: number, b: number, c: number) => void;
11997
12006
  readonly molecule_bondPropertyString: (a: number, b: number, c: number, d: number) => void;
@@ -14083,55 +14092,55 @@ export interface InitOutput {
14083
14092
  readonly xyzwriteparams_set_conformerId: (a: number, b: number, c: number) => void;
14084
14093
  readonly xyzwriteparams_set_precision: (a: number, b: number, c: number) => void;
14085
14094
  readonly __wasm_bindgen_func_elem_708: (a: number, b: number, c: number) => void;
14086
- readonly __wasm_bindgen_func_elem_708_3469: (a: number, b: number, c: number) => void;
14087
- readonly __wasm_bindgen_func_elem_708_3472: (a: number, b: number, c: number) => void;
14095
+ readonly __wasm_bindgen_func_elem_708_3470: (a: number, b: number, c: number) => void;
14088
14096
  readonly __wasm_bindgen_func_elem_708_3473: (a: number, b: number, c: number) => void;
14089
14097
  readonly __wasm_bindgen_func_elem_708_3474: (a: number, b: number, c: number) => void;
14090
14098
  readonly __wasm_bindgen_func_elem_708_3475: (a: number, b: number, c: number) => void;
14091
14099
  readonly __wasm_bindgen_func_elem_708_3476: (a: number, b: number, c: number) => void;
14092
14100
  readonly __wasm_bindgen_func_elem_708_3477: (a: number, b: number, c: number) => void;
14093
- readonly __wasm_bindgen_func_elem_708_3482: (a: number, b: number, c: number) => void;
14101
+ readonly __wasm_bindgen_func_elem_708_3478: (a: number, b: number, c: number) => void;
14094
14102
  readonly __wasm_bindgen_func_elem_708_3483: (a: number, b: number, c: number) => void;
14095
14103
  readonly __wasm_bindgen_func_elem_708_3484: (a: number, b: number, c: number) => void;
14096
14104
  readonly __wasm_bindgen_func_elem_708_3485: (a: number, b: number, c: number) => void;
14097
14105
  readonly __wasm_bindgen_func_elem_708_3486: (a: number, b: number, c: number) => void;
14098
14106
  readonly __wasm_bindgen_func_elem_708_3487: (a: number, b: number, c: number) => void;
14099
14107
  readonly __wasm_bindgen_func_elem_708_3488: (a: number, b: number, c: number) => void;
14100
- readonly __wasm_bindgen_func_elem_708_3490: (a: number, b: number, c: number) => void;
14101
- readonly __wasm_bindgen_func_elem_708_3493: (a: number, b: number, c: number) => void;
14108
+ readonly __wasm_bindgen_func_elem_708_3489: (a: number, b: number, c: number) => void;
14109
+ readonly __wasm_bindgen_func_elem_708_3491: (a: number, b: number, c: number) => void;
14102
14110
  readonly __wasm_bindgen_func_elem_708_3494: (a: number, b: number, c: number) => void;
14103
- readonly __wasm_bindgen_func_elem_708_3499: (a: number, b: number, c: number) => void;
14111
+ readonly __wasm_bindgen_func_elem_708_3495: (a: number, b: number, c: number) => void;
14104
14112
  readonly __wasm_bindgen_func_elem_708_3500: (a: number, b: number, c: number) => void;
14105
14113
  readonly __wasm_bindgen_func_elem_708_3501: (a: number, b: number, c: number) => void;
14106
14114
  readonly __wasm_bindgen_func_elem_708_3502: (a: number, b: number, c: number) => void;
14107
- readonly __wasm_bindgen_func_elem_708_3505: (a: number, b: number, c: number) => void;
14115
+ readonly __wasm_bindgen_func_elem_708_3503: (a: number, b: number, c: number) => void;
14108
14116
  readonly __wasm_bindgen_func_elem_708_3506: (a: number, b: number, c: number) => void;
14109
14117
  readonly __wasm_bindgen_func_elem_708_3507: (a: number, b: number, c: number) => void;
14110
14118
  readonly __wasm_bindgen_func_elem_708_3508: (a: number, b: number, c: number) => void;
14111
14119
  readonly __wasm_bindgen_func_elem_708_3509: (a: number, b: number, c: number) => void;
14112
14120
  readonly __wasm_bindgen_func_elem_708_3510: (a: number, b: number, c: number) => void;
14113
14121
  readonly __wasm_bindgen_func_elem_708_3511: (a: number, b: number, c: number) => void;
14114
- readonly __wasm_bindgen_func_elem_708_3515: (a: number, b: number, c: number) => void;
14115
- readonly __wasm_bindgen_func_elem_708_3517: (a: number, b: number, c: number) => void;
14122
+ readonly __wasm_bindgen_func_elem_708_3512: (a: number, b: number, c: number) => void;
14123
+ readonly __wasm_bindgen_func_elem_708_3516: (a: number, b: number, c: number) => void;
14116
14124
  readonly __wasm_bindgen_func_elem_708_3518: (a: number, b: number, c: number) => void;
14117
- readonly __wasm_bindgen_func_elem_708_3520: (a: number, b: number, c: number) => void;
14118
- readonly __wasm_bindgen_func_elem_708_3531: (a: number, b: number, c: number) => void;
14125
+ readonly __wasm_bindgen_func_elem_708_3519: (a: number, b: number, c: number) => void;
14126
+ readonly __wasm_bindgen_func_elem_708_3521: (a: number, b: number, c: number) => void;
14119
14127
  readonly __wasm_bindgen_func_elem_708_3532: (a: number, b: number, c: number) => void;
14120
14128
  readonly __wasm_bindgen_func_elem_708_3533: (a: number, b: number, c: number) => void;
14121
14129
  readonly __wasm_bindgen_func_elem_708_3534: (a: number, b: number, c: number) => void;
14122
14130
  readonly __wasm_bindgen_func_elem_708_3535: (a: number, b: number, c: number) => void;
14123
14131
  readonly __wasm_bindgen_func_elem_708_3536: (a: number, b: number, c: number) => void;
14124
- readonly __wasm_bindgen_func_elem_708_3538: (a: number, b: number, c: number) => void;
14132
+ readonly __wasm_bindgen_func_elem_708_3537: (a: number, b: number, c: number) => void;
14125
14133
  readonly __wasm_bindgen_func_elem_708_3539: (a: number, b: number, c: number) => void;
14126
- readonly __wasm_bindgen_func_elem_708_3541: (a: number, b: number, c: number) => void;
14134
+ readonly __wasm_bindgen_func_elem_708_3540: (a: number, b: number, c: number) => void;
14127
14135
  readonly __wasm_bindgen_func_elem_708_3542: (a: number, b: number, c: number) => void;
14128
- readonly __wasm_bindgen_func_elem_708_3544: (a: number, b: number, c: number) => void;
14136
+ readonly __wasm_bindgen_func_elem_708_3543: (a: number, b: number, c: number) => void;
14129
14137
  readonly __wasm_bindgen_func_elem_708_3545: (a: number, b: number, c: number) => void;
14130
- readonly __wasm_bindgen_func_elem_708_3547: (a: number, b: number, c: number) => void;
14138
+ readonly __wasm_bindgen_func_elem_708_3546: (a: number, b: number, c: number) => void;
14131
14139
  readonly __wasm_bindgen_func_elem_708_3548: (a: number, b: number, c: number) => void;
14132
14140
  readonly __wasm_bindgen_func_elem_708_3549: (a: number, b: number, c: number) => void;
14133
14141
  readonly __wasm_bindgen_func_elem_708_3550: (a: number, b: number, c: number) => void;
14134
14142
  readonly __wasm_bindgen_func_elem_708_3551: (a: number, b: number, c: number) => void;
14143
+ readonly __wasm_bindgen_func_elem_708_3552: (a: number, b: number, c: number) => void;
14135
14144
  readonly __wasm_bindgen_func_elem_708_40: (a: number, b: number, c: number) => void;
14136
14145
  readonly __wasm_bindgen_func_elem_708_42: (a: number, b: number, c: number) => void;
14137
14146
  readonly __wasm_bindgen_func_elem_708_43: (a: number, b: number, c: number) => void;
@@ -14140,20 +14149,20 @@ export interface InitOutput {
14140
14149
  readonly __wasm_bindgen_func_elem_715: (a: number, b: number, c: number) => void;
14141
14150
  readonly __wasm_bindgen_func_elem_717: (a: number, b: number, c: number) => void;
14142
14151
  readonly __wasm_bindgen_func_elem_719: (a: number, b: number, c: number) => void;
14143
- readonly __wasm_bindgen_func_elem_719_2579: (a: number, b: number, c: number) => void;
14152
+ readonly __wasm_bindgen_func_elem_719_2580: (a: number, b: number, c: number) => void;
14144
14153
  readonly __wasm_bindgen_func_elem_725: (a: number, b: number, c: number) => void;
14145
14154
  readonly __wasm_bindgen_func_elem_729: (a: number, b: number, c: number) => void;
14146
14155
  readonly __wasm_bindgen_func_elem_731: (a: number, b: number, c: number) => void;
14147
- readonly __wasm_bindgen_func_elem_731_3504: (a: number, b: number, c: number) => void;
14148
- readonly __wasm_bindgen_func_elem_731_3516: (a: number, b: number, c: number) => void;
14149
- readonly __wasm_bindgen_func_elem_731_3540: (a: number, b: number, c: number) => void;
14150
- readonly __wasm_bindgen_func_elem_731_3543: (a: number, b: number, c: number) => void;
14151
- readonly __wasm_bindgen_func_elem_731_3546: (a: number, b: number, c: number) => void;
14152
- readonly __wasm_bindgen_func_elem_731_3552: (a: number, b: number, c: number) => void;
14156
+ readonly __wasm_bindgen_func_elem_731_3505: (a: number, b: number, c: number) => void;
14157
+ readonly __wasm_bindgen_func_elem_731_3517: (a: number, b: number, c: number) => void;
14158
+ readonly __wasm_bindgen_func_elem_731_3541: (a: number, b: number, c: number) => void;
14159
+ readonly __wasm_bindgen_func_elem_731_3544: (a: number, b: number, c: number) => void;
14160
+ readonly __wasm_bindgen_func_elem_731_3547: (a: number, b: number, c: number) => void;
14161
+ readonly __wasm_bindgen_func_elem_731_3553: (a: number, b: number, c: number) => void;
14153
14162
  readonly __wasm_bindgen_func_elem_733: (a: number, b: number, c: number) => void;
14154
14163
  readonly __wasm_bindgen_func_elem_736: (a: number, b: number, c: number) => void;
14155
- readonly __wasm_bindgen_func_elem_736_3503: (a: number, b: number, c: number) => void;
14156
- readonly __wasm_bindgen_func_elem_736_3524: (a: number, b: number, c: number) => void;
14164
+ readonly __wasm_bindgen_func_elem_736_3504: (a: number, b: number, c: number) => void;
14165
+ readonly __wasm_bindgen_func_elem_736_3525: (a: number, b: number, c: number) => void;
14157
14166
  readonly __wasm_bindgen_func_elem_740: (a: number, b: number, c: number) => void;
14158
14167
  readonly __wasm_bindgen_func_elem_744: (a: number, b: number, c: number) => void;
14159
14168
  readonly __wasm_bindgen_func_elem_746: (a: number, b: number, c: number) => void;