From 9d2841c8d4949a2b0784ae9b56d6b12dd54e26d6 Mon Sep 17 00:00:00 2001 From: Gerardo Tauriello <gerardo.tauriello@unibas.ch> Date: Tue, 20 Nov 2018 19:09:11 +0100 Subject: [PATCH] Doc: clarify string conversion ChemType/ChemClass. --- modules/mol/base/doc/entity.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/mol/base/doc/entity.rst b/modules/mol/base/doc/entity.rst index 6e956923b..fc0b240dc 100644 --- a/modules/mol/base/doc/entity.rst +++ b/modules/mol/base/doc/entity.rst @@ -2033,6 +2033,7 @@ ChemClass * ``UNKNOWN`` = 'U' Python can implicitly convert characters to objects of this type. + Note however that only the first character of a :class:`str` is considered! :param chem_class: Chemical class to set. :type chem_class: :class:`str` @@ -2072,6 +2073,7 @@ ChemType * ``UNKNOWN`` = 'U' Python can implicitly convert characters to objects of this type. + Note however that only the first character of a :class:`str` is considered! :param chem_type: Chemical type to set. :type chem_type: :class:`str` -- GitLab