openchemlib 9.7.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.
@@ -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. This method
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