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

fix missing awaits in StructureRepresentationHelper.preset

parent 062e3e05
No related branches found
No related tags found
No related merge requests found
...@@ -178,14 +178,14 @@ export class StructureRepresentationHelper { ...@@ -178,14 +178,14 @@ export class StructureRepresentationHelper {
const s = structures[0].obj!.data const s = structures[0].obj!.data
if (s.elementCount < 50000) { if (s.elementCount < 50000) {
polymerAndLigand(this) await polymerAndLigand(this)
} else if (s.elementCount < 200000) { } else if (s.elementCount < 200000) {
proteinAndNucleic(this) await proteinAndNucleic(this)
} else { } else {
if (s.unitSymmetryGroups[0].units.length > 10) { if (s.unitSymmetryGroups[0].units.length > 10) {
capsid(this) await capsid(this)
} else { } else {
coarseCapsid(this) await coarseCapsid(this)
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment