|
@@ -362,17 +362,17 @@ const symbols = [
|
|
|
// D(MolScript.structureQuery.combinator.merge, (ctx, xs) => Queries.combinators.merge(xs as any)(ctx)),
|
|
|
D(MolScript.structureQuery.atomSet.atomCount,
|
|
|
function structureQuery_atomset_atomCount(ctx, xs) {
|
|
|
- console.log('From atomCount');
|
|
|
- console.log(Queries.atomset.atomCount(ctx));
|
|
|
- return Queries.atomset.atomCount(ctx);
|
|
|
+ console.log('From atomCount');
|
|
|
+ console.log(Queries.atomset.atomCount(ctx)(ctx));
|
|
|
+ return Queries.atomset.atomCount(ctx)(ctx);
|
|
|
}),
|
|
|
|
|
|
|
|
|
D(MolScript.structureQuery.atomSet.countQuery,
|
|
|
function structureQuery_atomset_countQuery(ctx, xs) {
|
|
|
- console.log('From countQuery');
|
|
|
- console.log(Queries.atomset.countQuery(ctx, xs[0](ctx) as any));
|
|
|
- return Queries.atomset.countQuery(ctx, xs[0](ctx) as any);
|
|
|
+ console.log('From countQuery');
|
|
|
+ console.log(Queries.atomset.countQuery(ctx, xs[0] as any)(ctx));
|
|
|
+ return Queries.atomset.countQuery(ctx, xs[0] as any)(ctx);
|
|
|
}),
|
|
|
|
|
|
// env, v[0](env)
|