diff --git a/src/apps/viewer/index.html b/src/apps/viewer/index.html index f3faa04f95f9e915ba493d25fdc471b69489e913..b2c505caf8929418a0dbe3e3107fd945179a6855 100644 --- a/src/apps/viewer/index.html +++ b/src/apps/viewer/index.html @@ -3,7 +3,7 @@ <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0"> - <title>Mol* Render Test</title> + <title>Mol* Viewer</title> <link href='./app.css', rel="stylesheet"> </head> <body> diff --git a/src/mol-model/structure/query/queries/generators.ts b/src/mol-model/structure/query/queries/generators.ts index f8ba1c17f37084ff7518e817ca40e4451d6cde35..d7c63919cff71a9d0de0f4b20a29b1dae6dfc1e8 100644 --- a/src/mol-model/structure/query/queries/generators.ts +++ b/src/mol-model/structure/query/queries/generators.ts @@ -15,9 +15,13 @@ export const none: StructureQuery = ctx => StructureSelection.Sequence(ctx.input export const all: StructureQuery = ctx => StructureSelection.Singletons(ctx.inputStructure, ctx.inputStructure); export interface AtomsQueryParams { + /** Query to be executed for each entity once */ entityTest: QueryPredicate, + /** Query to be executed for each chain once */ chainTest: QueryPredicate, + /** Query to be executed for each residue once */ residueTest: QueryPredicate, + /** Query to be executed for each atom */ atomTest: QueryPredicate, groupBy: QueryFn }