Skip to content
Snippets Groups Projects
Commit 7d7f31a1 authored by Studer Gabriel's avatar Studer Gabriel
Browse files

process all _struct_conf_type.id in mmcif_pdbx_v50.dic

parent e49384ca
No related branches found
No related tags found
No related merge requests found
......@@ -1312,6 +1312,12 @@ MMCifReader::MMCifSecStructElement MMCifReader::DetermineSecStructType(
else if (type == StringRef("STRN", 4)) {
return MMCIF_STRAND;
}
else if (type == StringRef("BEND", 4)) {
return MMCIF_COIL;
}
else if (type == StringRef("OTHER", 5)) {
return MMCIF_COIL;
}
throw IOException(this->FormatDiagnostic(STAR_DIAG_ERROR,
"Unknown secondary structure class found: "+
......
......@@ -342,7 +342,8 @@ protected:
typedef enum {
MMCIF_HELIX,
MMCIF_STRAND,
MMCIF_TURN
MMCIF_TURN,
MMCIF_COIL
} MMCifSecStructElement;
/// \brief Check whether an element was classified sheet or helix
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment