openchemlib 9.6.0 → 9.8.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/dist/openchemlib.d.ts +7 -4
- package/dist/openchemlib.debug.js +2198 -2201
- package/dist/openchemlib.js +9 -9
- package/package.json +16 -16
package/dist/openchemlib.d.ts
CHANGED
|
@@ -546,6 +546,10 @@ export declare class Molecule {
|
|
|
546
546
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
547
547
|
getOCL(): any;
|
|
548
548
|
|
|
549
|
+
/**
|
|
550
|
+
* Returns a kekulized SMILES string.
|
|
551
|
+
* @deprecated Use {@link toIsomericSmiles} instead.
|
|
552
|
+
*/
|
|
549
553
|
toSmiles(): string;
|
|
550
554
|
|
|
551
555
|
toSmarts(): string;
|
|
@@ -987,7 +991,7 @@ export declare class Molecule {
|
|
|
987
991
|
* @param atom
|
|
988
992
|
* @returns null or previously defined atom custom label
|
|
989
993
|
*/
|
|
990
|
-
getAtomCustomLabel(atom: number): string;
|
|
994
|
+
getAtomCustomLabel(atom: number): string | null;
|
|
991
995
|
|
|
992
996
|
/**
|
|
993
997
|
*
|
|
@@ -1642,12 +1646,11 @@ export declare class Molecule {
|
|
|
1642
1646
|
* Canonizer.encodeAtomCustomLabels(). If a custom label start with ']' then the
|
|
1643
1647
|
* label without the ']' symbol is shown at the top left of the original atom
|
|
1644
1648
|
* label rather than replacing the original atom label. If label is null or
|
|
1645
|
-
* equals the normal atom label, then the custom label is removed.
|
|
1646
|
-
* is less efficient than the byte[] version: setAtomCustomLabel(int, byte[])
|
|
1649
|
+
* equals the normal atom label, then the custom label is removed.
|
|
1647
1650
|
* @param atom
|
|
1648
1651
|
* @param label - null to remove custom label
|
|
1649
1652
|
*/
|
|
1650
|
-
setAtomCustomLabel(atom: number, label: string): void;
|
|
1653
|
+
setAtomCustomLabel(atom: number, label: string | null): void;
|
|
1651
1654
|
|
|
1652
1655
|
/**
|
|
1653
1656
|
* This is MDL's enhanced stereo representation (ESR). Stereo atoms and bonds
|