Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openstructure
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
schwede
openstructure
Commits
ddc30445
Verified
Commit
ddc30445
authored
1 year ago
by
Xavier Robin
Browse files
Options
Downloads
Patches
Plain Diff
doc: SCHWED-6108 improved comments on chain_type
parent
5e2626ed
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
modules/mol/base/src/chain_type.cc
+2
-0
2 additions, 0 deletions
modules/mol/base/src/chain_type.cc
modules/mol/base/src/chain_type.hh
+2
-2
2 additions, 2 deletions
modules/mol/base/src/chain_type.hh
with
4 additions
and
2 deletions
modules/mol/base/src/chain_type.cc
+
2
−
0
View file @
ddc30445
...
@@ -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"
;
...
...
This diff is collapsed.
Click to expand it.
modules/mol/base/src/chain_type.hh
+
2
−
2
View file @
ddc30445
...
@@ -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
can
not
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment