@kent-tokyo/chematic 0.31.0 → 0.34.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/chematic_wasm.d.ts +6 -0
- package/chematic_wasm.js +22 -0
- package/chematic_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/chematic_wasm.d.ts
CHANGED
|
@@ -2315,6 +2315,11 @@ export function stereo_parent_json(mol: MolHandle): string;
|
|
|
2315
2315
|
*/
|
|
2316
2316
|
export function super_parent_json(mol: MolHandle, max_transforms: number, max_tautomers: number, timeout_ms?: bigint | null): string;
|
|
2317
2317
|
|
|
2318
|
+
/**
|
|
2319
|
+
* Compute the composed Super Parent and expose every ordered stage.
|
|
2320
|
+
*/
|
|
2321
|
+
export function super_parent_report_json(mol: MolHandle, max_transforms: number, max_tautomers: number, timeout_ms?: bigint | null): string;
|
|
2322
|
+
|
|
2318
2323
|
/**
|
|
2319
2324
|
* Tanimoto similarity between two molecules using AtomPair fingerprints.
|
|
2320
2325
|
*/
|
|
@@ -2873,6 +2878,7 @@ export interface InitOutput {
|
|
|
2873
2878
|
readonly standardize_smiles_report_json: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number];
|
|
2874
2879
|
readonly stereo_parent_json: (a: number) => [number, number];
|
|
2875
2880
|
readonly super_parent_json: (a: number, b: number, c: number, d: number, e: bigint) => [number, number];
|
|
2881
|
+
readonly super_parent_report_json: (a: number, b: number, c: number, d: number, e: bigint) => [number, number];
|
|
2876
2882
|
readonly tanimoto_atom_pair: (a: number, b: number) => number;
|
|
2877
2883
|
readonly tanimoto_ecfp4: (a: number, b: number) => number;
|
|
2878
2884
|
readonly tanimoto_ecfp6: (a: number, b: number) => number;
|
package/chematic_wasm.js
CHANGED
|
@@ -5883,6 +5883,28 @@ export function super_parent_json(mol, max_transforms, max_tautomers, timeout_ms
|
|
|
5883
5883
|
}
|
|
5884
5884
|
}
|
|
5885
5885
|
|
|
5886
|
+
/**
|
|
5887
|
+
* Compute the composed Super Parent and expose every ordered stage.
|
|
5888
|
+
* @param {MolHandle} mol
|
|
5889
|
+
* @param {number} max_transforms
|
|
5890
|
+
* @param {number} max_tautomers
|
|
5891
|
+
* @param {bigint | null} [timeout_ms]
|
|
5892
|
+
* @returns {string}
|
|
5893
|
+
*/
|
|
5894
|
+
export function super_parent_report_json(mol, max_transforms, max_tautomers, timeout_ms) {
|
|
5895
|
+
let deferred1_0;
|
|
5896
|
+
let deferred1_1;
|
|
5897
|
+
try {
|
|
5898
|
+
_assertClass(mol, MolHandle);
|
|
5899
|
+
const ret = wasm.super_parent_report_json(mol.__wbg_ptr, max_transforms, max_tautomers, !isLikeNone(timeout_ms), isLikeNone(timeout_ms) ? BigInt(0) : timeout_ms);
|
|
5900
|
+
deferred1_0 = ret[0];
|
|
5901
|
+
deferred1_1 = ret[1];
|
|
5902
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
5903
|
+
} finally {
|
|
5904
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
5905
|
+
}
|
|
5906
|
+
}
|
|
5907
|
+
|
|
5886
5908
|
/**
|
|
5887
5909
|
* Tanimoto similarity between two molecules using AtomPair fingerprints.
|
|
5888
5910
|
* @param {MolHandle} a
|
package/chematic_wasm_bg.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"kent-tokyo <kent-tokyo@users.noreply.github.com>"
|
|
6
6
|
],
|
|
7
7
|
"description": "WebAssembly bindings for chematic — use chematic from JavaScript/TypeScript",
|
|
8
|
-
"version": "0.
|
|
8
|
+
"version": "0.34.0",
|
|
9
9
|
"license": "MIT OR Apache-2.0",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|