Skip to content
Snippets Groups Projects
Verified Commit ddc30445 authored by Xavier Robin's avatar Xavier Robin
Browse files

doc: SCHWED-6108 improved comments on chain_type

parent 5e2626ed
Branches
Tags
No related merge requests found
...@@ -78,6 +78,8 @@ String StringFromChainType(ChainType type) ...@@ -78,6 +78,8 @@ String StringFromChainType(ChainType type)
{ {
// chain types as found in the entity category of a mmcif file // chain types as found in the entity category of a mmcif file
if (CHAINTYPE_POLY == type) { if (CHAINTYPE_POLY == type) {
// "polymer" in _entity.type
// "other" in _entity_poly.type
return "polymer"; return "polymer";
} else if (CHAINTYPE_NON_POLY == type) { } else if (CHAINTYPE_NON_POLY == type) {
return "non-polymer"; return "non-polymer";
......
...@@ -30,8 +30,8 @@ namespace ost { namespace mol { ...@@ -30,8 +30,8 @@ namespace ost { namespace mol {
/// \enum different kinds of chains /// \enum different kinds of chains
/// ///
/// Warning: this class mixes vocabulary from _entity.type and /// Warning: this class mixes vocabulary from _entity.type and
// _entity_poly.type, which is more detailed. As a result it cannot be used to // _entity_poly.type, which is more detailed. As a result it is not a 1:1
/// to read/write mmCIF entity types accurately. // mapping and cannot be used to to read/write mmCIF entity types accurately.
typedef enum { typedef enum {
CHAINTYPE_POLY, ///< polymer CHAINTYPE_POLY, ///< polymer
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment