@cosmol-studio/cosmolkit-core-bio 0.6.0-rc.2 → 0.6.0-rc.4

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.
@@ -62,7 +62,8 @@ export interface BatchQueryParamsOptions {
62
62
  */
63
63
  progressBar?: BatchQueryParams["progressBar"];
64
64
  /**
65
- * One notification after every completed input row, including invalid rows.
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; newly failed queries always raise.
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 input row, including invalid rows.
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;
@@ -4657,6 +4660,7 @@ export class LigandRef {
4657
4660
  static Atom(atom: IndexInput): LigandRef;
4658
4661
  constructor(atom?: IndexInput | null);
4659
4662
  static readonly ImplicitHydrogen: LigandRef;
4663
+ static readonly LonePair: LigandRef;
4660
4664
  readonly atomId: number | undefined;
4661
4665
  }
4662
4666
 
@@ -5694,6 +5698,11 @@ export class Molecule {
5694
5698
  atomPropertyString(atom: IndexInput, key: TextInput): string | undefined;
5695
5699
  atomPropertyUint(atom: IndexInput, key: TextInput): number | undefined;
5696
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;
5697
5706
  bondPropertyString(bond: IndexInput, key: TextInput): string | undefined;
5698
5707
  bond(index: IndexInput): Bond | undefined;
5699
5708
  clear3dConformers_(): void;
@@ -5732,10 +5741,10 @@ export class Molecule {
5732
5741
  property(key: TextInput): PropertyValue | undefined;
5733
5742
  removeHydrogensWithParams_(params: RemoveHsParams | RemoveHsParamsOptions): void;
5734
5743
  removeHydrogens_(params?: RemoveHsParams | RemoveHsParamsOptions | null): void;
5735
- sanitizeWithParams(params: SanitizeParams | SanitizeParamsOptions): Molecule;
5736
5744
  sanitizeWithParams_(params: SanitizeParams | SanitizeParamsOptions): void;
5737
- sanitize(params?: SanitizeParams | SanitizeParamsOptions | null): Molecule;
5745
+ sanitizeWithParams(params: SanitizeParams | SanitizeParamsOptions): Molecule;
5738
5746
  sanitize_(params?: SanitizeParams | SanitizeParamsOptions | null): void;
5747
+ sanitize(params?: SanitizeParams | SanitizeParamsOptions | null): Molecule;
5739
5748
  set2dCoordinatesWithParams_(coordinates: CoordinateRows, params: Coordinate2DInputParams | Coordinate2DInputParamsOptions): void;
5740
5749
  set2dCoordinates_(coordinates: CoordinateRows, params?: Coordinate2DInputParams | Coordinate2DInputParamsOptions | null): void;
5741
5750
  set3dCoordinatesWithParams_(coordinates: Coordinates3D, params: Replace3DCoordinatesParams | Replace3DCoordinatesParamsOptions): void;
@@ -5753,7 +5762,7 @@ export class Molecule {
5753
5762
  setOnly3dConformer_(coordinates: Coordinates3D, params?: Coordinate3DInputParams | Coordinate3DInputParamsOptions | null): number;
5754
5763
  symmetrizedSssrWithParams(params: RingSearchParams | RingSearchParamsOptions): RingSearchResult;
5755
5764
  symmetrizedSssr(params?: RingSearchParams | RingSearchParamsOptions | null): RingSearchResult;
5756
- tetrahedralStereo(): ReadonlyArray<TetrahedralStereo>;
5765
+ tetrahedralStereo(include_unassigned?: BoolInput | null): ReadonlyArray<TetrahedralStereo>;
5757
5766
  toBuilder(): MoleculeBuilder;
5758
5767
  toCxSmilesWithParams(params: CxSmilesWriteParams | CxSmilesWriteParamsOptions): string;
5759
5768
  toCxSmiles(params?: CxSmilesWriteParams | CxSmilesWriteParamsOptions | null): string;
@@ -8494,10 +8503,10 @@ export class SanitizeOperations {
8494
8503
  union(other: SanitizeOperations): SanitizeOperations;
8495
8504
  static readonly ADJUST_HS: SanitizeOperations;
8496
8505
  static readonly ALL: SanitizeOperations;
8497
- static readonly CLEANUP: SanitizeOperations;
8498
8506
  static readonly CLEANUP_ATROPISOMERS: SanitizeOperations;
8499
8507
  static readonly CLEANUP_CHIRALITY: SanitizeOperations;
8500
8508
  static readonly CLEANUP_ORGANOMETALLICS: SanitizeOperations;
8509
+ static readonly CLEANUP: SanitizeOperations;
8501
8510
  static readonly FIND_RADICALS: SanitizeOperations;
8502
8511
  static readonly KEKULIZE: SanitizeOperations;
8503
8512
  static readonly NONE: SanitizeOperations;
@@ -9453,9 +9462,9 @@ export enum TemplateAttachmentOrderErrorKind {
9453
9462
  export class TetrahedralStereo {
9454
9463
  free(): void;
9455
9464
  [Symbol.dispose](): void;
9456
- constructor(center: IndexInput, ligands: readonly [LigandRef, LigandRef, LigandRef, LigandRef]);
9465
+ constructor(center: IndexInput, ligands?: readonly [LigandRef, LigandRef, LigandRef, LigandRef] | null);
9457
9466
  readonly center: number;
9458
- readonly ligands: readonly [LigandRef, LigandRef, LigandRef, LigandRef];
9467
+ readonly ligands: readonly [LigandRef, LigandRef, LigandRef, LigandRef] | undefined;
9459
9468
  }
9460
9469
 
9461
9470
  export class TopologyBlock {
@@ -11879,6 +11888,7 @@ export interface InitOutput {
11879
11888
  readonly legacystereoerrordetails_valence: (a: number) => number;
11880
11889
  readonly ligandref_Atom: (a: number, b: number) => void;
11881
11890
  readonly ligandref_ImplicitHydrogen: () => number;
11891
+ readonly ligandref_LonePair: () => number;
11882
11892
  readonly ligandref_atomId: (a: number) => number;
11883
11893
  readonly ligandref_new: (a: number, b: number) => void;
11884
11894
  readonly mappingvalidationerror_details: (a: number) => number;
@@ -12170,6 +12180,7 @@ export interface InitOutput {
12170
12180
  readonly molecule_atomPropertyString: (a: number, b: number, c: number, d: number) => void;
12171
12181
  readonly molecule_atomPropertyStringVector: (a: number, b: number, c: number, d: number) => void;
12172
12182
  readonly molecule_atomPropertyUint: (a: number, b: number, c: number, d: number) => void;
12183
+ readonly molecule_atomicNumbers: (a: number, b: number) => void;
12173
12184
  readonly molecule_atoms: (a: number, b: number) => void;
12174
12185
  readonly molecule_bond: (a: number, b: number, c: number) => void;
12175
12186
  readonly molecule_bondPropertyString: (a: number, b: number, c: number, d: number) => void;
@@ -12238,7 +12249,7 @@ export interface InitOutput {
12238
12249
  readonly molecule_setOnly3dConformer_: (a: number, b: number, c: number, d: number) => void;
12239
12250
  readonly molecule_symmetrizedSssr: (a: number, b: number, c: number) => void;
12240
12251
  readonly molecule_symmetrizedSssrWithParams: (a: number, b: number, c: number) => void;
12241
- readonly molecule_tetrahedralStereo: (a: number, b: number) => void;
12252
+ readonly molecule_tetrahedralStereo: (a: number, b: number, c: number) => void;
12242
12253
  readonly molecule_toBuilder: (a: number) => number;
12243
12254
  readonly molecule_toCxSmiles: (a: number, b: number, c: number) => void;
12244
12255
  readonly molecule_toCxSmilesWithParams: (a: number, b: number, c: number) => void;
@@ -13758,37 +13769,37 @@ export interface InitOutput {
13758
13769
  readonly xyzwriteparams_set_conformerId: (a: number, b: number, c: number) => void;
13759
13770
  readonly xyzwriteparams_set_precision: (a: number, b: number, c: number) => void;
13760
13771
  readonly __wasm_bindgen_func_elem_700: (a: number, b: number, c: number) => void;
13761
- readonly __wasm_bindgen_func_elem_700_3317: (a: number, b: number, c: number) => void;
13762
- readonly __wasm_bindgen_func_elem_700_3320: (a: number, b: number, c: number) => void;
13763
- 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;
13764
13773
  readonly __wasm_bindgen_func_elem_700_3322: (a: number, b: number, c: number) => void;
13774
+ readonly __wasm_bindgen_func_elem_700_3323: (a: number, b: number, c: number) => void;
13765
13775
  readonly __wasm_bindgen_func_elem_700_3324: (a: number, b: number, c: number) => void;
13766
- readonly __wasm_bindgen_func_elem_700_3325: (a: number, b: number, c: number) => void;
13767
- readonly __wasm_bindgen_func_elem_700_3329: (a: number, b: number, c: number) => void;
13768
- readonly __wasm_bindgen_func_elem_700_3342: (a: number, b: number, c: number) => void;
13769
- readonly __wasm_bindgen_func_elem_700_3347: (a: number, b: number, c: number) => void;
13770
- readonly __wasm_bindgen_func_elem_700_3348: (a: number, b: number, c: number) => void;
13776
+ readonly __wasm_bindgen_func_elem_700_3326: (a: number, b: number, c: number) => void;
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;
13771
13780
  readonly __wasm_bindgen_func_elem_700_3349: (a: number, b: number, c: number) => void;
13772
13781
  readonly __wasm_bindgen_func_elem_700_3350: (a: number, b: number, c: number) => void;
13782
+ readonly __wasm_bindgen_func_elem_700_3351: (a: number, b: number, c: number) => void;
13773
13783
  readonly __wasm_bindgen_func_elem_700_3352: (a: number, b: number, c: number) => void;
13774
- readonly __wasm_bindgen_func_elem_700_3353: (a: number, b: number, c: number) => void;
13775
- readonly __wasm_bindgen_func_elem_700_3362: (a: number, b: number, c: number) => void;
13776
- readonly __wasm_bindgen_func_elem_700_3363: (a: number, b: number, c: number) => void;
13784
+ readonly __wasm_bindgen_func_elem_700_3354: (a: number, b: number, c: number) => void;
13785
+ readonly __wasm_bindgen_func_elem_700_3355: (a: number, b: number, c: number) => void;
13777
13786
  readonly __wasm_bindgen_func_elem_700_3364: (a: number, b: number, c: number) => void;
13778
13787
  readonly __wasm_bindgen_func_elem_700_3365: (a: number, b: number, c: number) => void;
13779
- readonly __wasm_bindgen_func_elem_700_3368: (a: number, b: number, c: number) => void;
13780
- readonly __wasm_bindgen_func_elem_700_3369: (a: number, b: number, c: number) => void;
13788
+ readonly __wasm_bindgen_func_elem_700_3366: (a: number, b: number, c: number) => void;
13789
+ readonly __wasm_bindgen_func_elem_700_3367: (a: number, b: number, c: number) => void;
13781
13790
  readonly __wasm_bindgen_func_elem_700_3370: (a: number, b: number, c: number) => void;
13782
13791
  readonly __wasm_bindgen_func_elem_700_3371: (a: number, b: number, c: number) => void;
13783
- readonly __wasm_bindgen_func_elem_700_3401: (a: number, b: number, c: number) => void;
13784
- readonly __wasm_bindgen_func_elem_700_3408: (a: number, b: number, c: number) => void;
13792
+ readonly __wasm_bindgen_func_elem_700_3372: (a: number, b: number, c: number) => void;
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;
13785
13795
  readonly __wasm_bindgen_func_elem_700_3410: (a: number, b: number, c: number) => void;
13786
- readonly __wasm_bindgen_func_elem_700_3411: (a: number, b: number, c: number) => void;
13796
+ readonly __wasm_bindgen_func_elem_700_3412: (a: number, b: number, c: number) => void;
13787
13797
  readonly __wasm_bindgen_func_elem_700_3413: (a: number, b: number, c: number) => void;
13788
13798
  readonly __wasm_bindgen_func_elem_700_3415: (a: number, b: number, c: number) => void;
13789
- readonly __wasm_bindgen_func_elem_700_3416: (a: number, b: number, c: number) => void;
13790
13799
  readonly __wasm_bindgen_func_elem_700_3417: (a: number, b: number, c: number) => void;
13791
13800
  readonly __wasm_bindgen_func_elem_700_3418: (a: number, b: number, c: number) => void;
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;
13792
13803
  readonly __wasm_bindgen_func_elem_700_37: (a: number, b: number, c: number) => void;
13793
13804
  readonly __wasm_bindgen_func_elem_700_39: (a: number, b: number, c: number) => void;
13794
13805
  readonly __wasm_bindgen_func_elem_700_40: (a: number, b: number, c: number) => void;
@@ -13798,7 +13809,7 @@ export interface InitOutput {
13798
13809
  readonly __wasm_bindgen_func_elem_709: (a: number, b: number, c: number) => void;
13799
13810
  readonly __wasm_bindgen_func_elem_711: (a: number, b: number, c: number) => void;
13800
13811
  readonly __wasm_bindgen_func_elem_713: (a: number, b: number, c: number) => void;
13801
- readonly __wasm_bindgen_func_elem_713_2425: (a: number, b: number, c: number) => void;
13812
+ readonly __wasm_bindgen_func_elem_713_2427: (a: number, b: number, c: number) => void;
13802
13813
  readonly __wasm_bindgen_func_elem_715: (a: number, b: number, c: number) => void;
13803
13814
  readonly __wasm_bindgen_func_elem_717: (a: number, b: number, c: number) => void;
13804
13815
  readonly __wasm_bindgen_func_elem_719: (a: number, b: number, c: number) => void;
@@ -13817,18 +13828,18 @@ export interface InitOutput {
13817
13828
  readonly __wasm_bindgen_func_elem_747: (a: number, b: number, c: number) => void;
13818
13829
  readonly __wasm_bindgen_func_elem_751: (a: number, b: number, c: number) => void;
13819
13830
  readonly __wasm_bindgen_func_elem_753: (a: number, b: number, c: number) => void;
13820
- readonly __wasm_bindgen_func_elem_753_3367: (a: number, b: number, c: number) => void;
13821
- readonly __wasm_bindgen_func_elem_753_3384: (a: number, b: number, c: number) => void;
13822
- readonly __wasm_bindgen_func_elem_753_3409: (a: number, b: number, c: number) => void;
13823
- readonly __wasm_bindgen_func_elem_753_3412: (a: number, b: number, c: number) => void;
13824
- readonly __wasm_bindgen_func_elem_753_3419: (a: number, b: number, c: number) => void;
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;
13825
13836
  readonly __wasm_bindgen_func_elem_754: (a: number, b: number, c: number) => void;
13826
13837
  readonly __wasm_bindgen_func_elem_757: (a: number, b: number, c: number) => void;
13827
- readonly __wasm_bindgen_func_elem_757_3366: (a: number, b: number, c: number) => void;
13828
- readonly __wasm_bindgen_func_elem_757_3385: (a: number, b: number, c: number) => void;
13838
+ readonly __wasm_bindgen_func_elem_757_3368: (a: number, b: number, c: number) => void;
13829
13839
  readonly __wasm_bindgen_func_elem_757_3387: (a: number, b: number, c: number) => void;
13830
- readonly __wasm_bindgen_func_elem_757_3396: (a: number, b: number, c: number) => void;
13831
- readonly __wasm_bindgen_func_elem_757_3404: (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;
13832
13843
  readonly __wasm_bindgen_func_elem_763: (a: number, b: number, c: number) => void;
13833
13844
  readonly __wasm_bindgen_func_elem_765: (a: number, b: number, c: number) => void;
13834
13845
  readonly __wasm_bindgen_func_elem_767: (a: number, b: number, c: number) => void;
@@ -13847,9 +13858,9 @@ export interface InitOutput {
13847
13858
  readonly __wasm_bindgen_func_elem_799: (a: number, b: number, c: number) => void;
13848
13859
  readonly __wasm_bindgen_func_elem_801: (a: number, b: number, c: number) => void;
13849
13860
  readonly __wasm_bindgen_func_elem_803: (a: number, b: number, c: number) => void;
13850
- readonly __wasm_bindgen_func_elem_803_3383: (a: number, b: number, c: number) => void;
13861
+ readonly __wasm_bindgen_func_elem_803_3385: (a: number, b: number, c: number) => void;
13851
13862
  readonly __wasm_bindgen_func_elem_804: (a: number, b: number, c: number) => void;
13852
- readonly __wasm_bindgen_func_elem_804_3400: (a: number, b: number, c: number) => void;
13863
+ readonly __wasm_bindgen_func_elem_804_3402: (a: number, b: number, c: number) => void;
13853
13864
  readonly __wasm_bindgen_func_elem_805: (a: number, b: number, c: number) => void;
13854
13865
  readonly __wasm_bindgen_func_elem_807: (a: number, b: number, c: number) => void;
13855
13866
  readonly __wasm_bindgen_func_elem_809: (a: number, b: number, c: number) => void;