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

code simplification

parent c285e30e
Branches
Tags
No related merge requests found
......@@ -241,7 +241,7 @@ export function getEntityType(compId: string): mmCIF_Schema['entity']['type']['T
}
export function isPolymer(moleculeType: MoleculeType) {
return moleculeType === MoleculeType.protein || moleculeType === MoleculeType.DNA || moleculeType === MoleculeType.RNA || moleculeType === MoleculeType.PNA
return isNucleic(moleculeType) || isProtein(moleculeType)
}
export function isNucleic(moleculeType: MoleculeType) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment