Skip to content
Snippets Groups Projects
Commit 5a64a6f1 authored by David Sehnal's avatar David Sehnal
Browse files

mol-model: fixed a bug in secondary structure export

parent 88aa9303
No related branches found
No related tags found
No related merge requests found
...@@ -51,7 +51,7 @@ const struct_conf_fields: CifField[] = [ ...@@ -51,7 +51,7 @@ const struct_conf_fields: CifField[] = [
CifField.str<number, SSElement<SecondaryStructure.Helix>[]>('details', (i, data) => data[i].element.details || '', { CifField.str<number, SSElement<SecondaryStructure.Helix>[]>('details', (i, data) => data[i].element.details || '', {
valueKind: (i, d) => !!d[i].element.details ? Column.ValueKind.Present : Column.ValueKind.Unknown valueKind: (i, d) => !!d[i].element.details ? Column.ValueKind.Present : Column.ValueKind.Unknown
}), }),
CifField.int<number, SSElement<SecondaryStructure.Helix>[]>('pdbx_PDB_helix_class', (i, data) => data[i].length) CifField.int<number, SSElement<SecondaryStructure.Helix>[]>('pdbx_PDB_helix_length', (i, data) => data[i].length)
]; ];
const struct_sheet_range_fields: CifField[] = [ const struct_sheet_range_fields: CifField[] = [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment