Module: Chemicalml::Convention::Molecular

Extended by:
Base
Defined in:
lib/chemicalml/convention/molecular.rb,
lib/chemicalml/convention/molecular/constraints.rb,
lib/chemicalml/convention/molecular/constraints/atom_array_must_contain_atoms.rb,
lib/chemicalml/convention/molecular/constraints/atom_ids_unique_within_molecule.rb,
lib/chemicalml/convention/molecular/constraints/bond_must_reference_atoms_in_same_molecule.rb

Overview

The molecular convention. Constraints are based on the rules at http://www.xml-cml.org/convention/molecular (archived in reference-docs/conventions/molecular.md).

Defined Under Namespace

Modules: Constraints

Constant Summary collapse

QNAME =
"convention:molecular".freeze
NAMESPACE_URI =
"#{Chemicalml::Convention::CONVENTION_NAMESPACE}molecular".freeze

Class Method Summary collapse

Methods included from Base

constraint_count, constraints, namespace_uri, qname, register, reset_constraints!, validate

Class Method Details

.namespace_uriObject



20
21
22
# File 'lib/chemicalml/convention/molecular.rb', line 20

def self.namespace_uri
  NAMESPACE_URI
end

.qnameObject



16
17
18
# File 'lib/chemicalml/convention/molecular.rb', line 16

def self.qname
  QNAME
end