Skip to content
Snippets Groups Projects
Commit d1f76fd4 authored by Alexander Rose's avatar Alexander Rose
Browse files

check all micro het comp ids for isNonStandard prop

parent 437d52e4
No related branches found
No related tags found
No related merge requests found
......@@ -93,7 +93,7 @@ const residue = {
pdbx_PDB_ins_code: p(l => !Unit.isAtomic(l.unit) ? notAtomic() : l.unit.model.atomicHierarchy.residues.pdbx_PDB_ins_code.value(l.unit.residueIndex[l.element])),
// Properties
isNonStandard: p(l => !Unit.isAtomic(l.unit) ? notAtomic() : l.unit.model.properties.chemicalComponentMap.get(compId(l))!.mon_nstd_flag[0] !== 'y'),
isNonStandard: p(l => !Unit.isAtomic(l.unit) ? notAtomic() : microheterogeneityCompIds(l).some(c => l.unit.model.properties.chemicalComponentMap.get(c)!.mon_nstd_flag[0] !== 'y')),
hasMicroheterogeneity: p(hasMicroheterogeneity),
microheterogeneityCompIds: p(microheterogeneityCompIds),
secondary_structure_type: p(l => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment