molstar
Version:
A comprehensive macromolecular library.
61 lines • 1.59 kB
JavaScript
/**
* Copyright (c) 2019-2020 mol* contributors, licensed under MIT, See LICENSE file for more info.
*
* @author David Sehnal <david.sehnal@gmail.com>
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.QuerySchemas = void 0;
var InteractionCategories = new Set([
'entry',
'entity',
'exptl',
'cell',
'symmetry',
'struct_conf',
'struct_sheet_range',
'entity_poly',
'struct_asym',
'struct_conn',
'struct_conn_type',
'pdbx_struct_mod_residue',
'chem_comp_bond',
'atom_sites',
'atom_site',
'pdbx_entity_branch',
'pdbx_entity_branch_link',
'pdbx_branch_scheme'
]);
var AssemblyCategories = new Set([
'entry',
'entity',
'exptl',
'cell',
'symmetry',
'struct_conf',
'struct_sheet_range',
'entity_poly',
'entity_poly_seq',
'pdbx_nonpoly_scheme',
'struct_asym',
'struct_conn',
'struct_conn_type',
'pdbx_struct_mod_residue',
'chem_comp_bond',
'atom_sites',
'atom_site',
'pdbx_entity_branch',
'pdbx_entity_branch_link',
'pdbx_branch_scheme'
]);
exports.QuerySchemas = {
interaction: {
includeCategory: function (name) { return InteractionCategories.has(name); },
includeField: function (cat, field) { return true; }
},
assembly: {
includeCategory: function (name) { return AssemblyCategories.has(name); },
includeField: function (cat, field) { return true; }
}
};
//# sourceMappingURL=schemas.js.map
;