Skip to content
Snippets Groups Projects
Commit 6c24eccd authored by Gerardo Tauriello's avatar Gerardo Tauriello
Browse files

Someone forgot to export the new ChainTypes to Python.

parent cdc42d20
No related branches found
No related tags found
No related merge requests found
......@@ -1807,7 +1807,9 @@ here.
``CHAINTYPE_POLY_PEPTIDE_D``, ``CHAINTYPE_POLY_PEPTIDE_L``,
``CHAINTYPE_POLY_DN``, ``CHAINTYPE_POLY_RN``, ``CHAINTYPE_POLY_SAC_D``,
``CHAINTYPE_POLY_SAC_L``, ``CHAINTYPE_POLY_DN_RN``,
``CHAINTYPE_UNKNOWN``, ``CHAINTYPE_N_CHAINTYPES``
``CHAINTYPE_UNKNOWN``, ``CHAINTYPE_MACROLIDE``,
``CHAINTYPE_CYCLIC_PSEUDO_PEPTIDE``, ``CHAINTYPE_POLY_PEPTIDE_DN_RN``,
``CHAINTYPE_N_CHAINTYPES``
Where ``CHAINTYPE_N_CHAINTYPES`` holds the number of different types available.
......
......@@ -123,18 +123,21 @@ void export_Chain()
{
enum_<ChainType>("ChainType")
.value("CHAINTYPE_POLY", CHAINTYPE_POLY)
.value("CHAINTYPE_NON_POLY", CHAINTYPE_NON_POLY)
.value("CHAINTYPE_WATER", CHAINTYPE_WATER)
.value("CHAINTYPE_POLY_PEPTIDE_D", CHAINTYPE_POLY_PEPTIDE_D)
.value("CHAINTYPE_POLY_PEPTIDE_L", CHAINTYPE_POLY_PEPTIDE_L)
.value("CHAINTYPE_POLY_DN", CHAINTYPE_POLY_DN)
.value("CHAINTYPE_POLY_RN", CHAINTYPE_POLY_RN)
.value("CHAINTYPE_POLY_SAC_D", CHAINTYPE_POLY_SAC_D)
.value("CHAINTYPE_POLY_SAC_L", CHAINTYPE_POLY_SAC_L)
.value("CHAINTYPE_POLY_DN_RN", CHAINTYPE_POLY_DN_RN)
.value("CHAINTYPE_UNKNOWN", CHAINTYPE_UNKNOWN)
.value("CHAINTYPE_N_CHAINTYPES", CHAINTYPE_N_CHAINTYPES)
.value("CHAINTYPE_POLY", CHAINTYPE_POLY)
.value("CHAINTYPE_NON_POLY", CHAINTYPE_NON_POLY)
.value("CHAINTYPE_WATER", CHAINTYPE_WATER)
.value("CHAINTYPE_POLY_PEPTIDE_D", CHAINTYPE_POLY_PEPTIDE_D)
.value("CHAINTYPE_POLY_PEPTIDE_L", CHAINTYPE_POLY_PEPTIDE_L)
.value("CHAINTYPE_POLY_DN", CHAINTYPE_POLY_DN)
.value("CHAINTYPE_POLY_RN", CHAINTYPE_POLY_RN)
.value("CHAINTYPE_POLY_SAC_D", CHAINTYPE_POLY_SAC_D)
.value("CHAINTYPE_POLY_SAC_L", CHAINTYPE_POLY_SAC_L)
.value("CHAINTYPE_POLY_DN_RN", CHAINTYPE_POLY_DN_RN)
.value("CHAINTYPE_UNKNOWN", CHAINTYPE_UNKNOWN)
.value("CHAINTYPE_MACROLIDE", CHAINTYPE_MACROLIDE)
.value("CHAINTYPE_CYCLIC_PSEUDO_PEPTIDE", CHAINTYPE_CYCLIC_PSEUDO_PEPTIDE)
.value("CHAINTYPE_POLY_PEPTIDE_DN_RN", CHAINTYPE_POLY_PEPTIDE_DN_RN)
.value("CHAINTYPE_N_CHAINTYPES", CHAINTYPE_N_CHAINTYPES)
.export_values()
;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment