Skip to content
Snippets Groups Projects
Commit ffb1390b authored by yakomaxa's avatar yakomaxa
Browse files

added conditional evalation to inComplement

parent 3b92591c
No related branches found
No related tags found
No related merge requests found
......@@ -249,7 +249,7 @@ const symbols = [
return Queries.generators.rings(xs?.['fingerprint']?.(ctx) as any, xs?.['only-aromatic']?.(ctx))(ctx);
}),
D(MolScript.structureQuery.generator.queryInSelection, function structureQuery_generator_queryInSelection(ctx, xs) {
return Queries.generators.querySelection(xs[0] as any, xs['query'] as any, xs['in-complement'] as any)(ctx);
return Queries.generators.querySelection(xs[0] as any, xs['query'] as any, xs['in-complement']?.(ctx) as any)(ctx);
}),
// ============= MODIFIERS ================
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment