Alexander Rose 6 years ago
parent
commit
0406265138
2 changed files with 5 additions and 1 deletions
  1. 1 1
      src/apps/viewer/index.html
  2. 4 0
      src/mol-model/structure/query/queries/generators.ts

+ 1 - 1
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>

+ 4 - 0
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
 }