Class: Chem::PdbDic::PdbDicMolecule
- Defined in:
- lib/chem/db/pdb_dic.rb
Constant Summary
Constants included from Molecule
Molecule::EpsHeader, Molecule::MDLCountLineFormat
Instance Attribute Summary collapse
-
#atoms ⇒ Object
readonly
Returns the value of attribute atoms.
-
#bonds ⇒ Object
readonly
Returns the value of attribute bonds.
Attributes included from Molecule
Attributes included from Graph
Instance Method Summary collapse
-
#initialize ⇒ PdbDicMolecule
constructor
A new instance of PdbDicMolecule.
Methods included from Molecule
#-, #assign_2d_geometry, #breadth_first_search, #canonical_ring, #composition, #connected?, #deep_dup, #delete, #delete_bond, #depth_first_search, #divide, #find_smallest_ring, #find_sssr, #induced_sub, #molecular_weight, #n_hydrogen, #oxidation_number, #save, #save_as_mdl, #save_as_pdf, #search_pubchem, #subset_in_composition?, #to_cansmi, #to_eps, #to_sybyl, #trim
Methods included from Graph
#adj_matrix, #adjacency_list, #adjacent_to, #clustering_coefficient, #connection, #each, #match_by_adj_mat, #match_by_ullmann, #match_exhaustively, #matchable, #matchable_old, #morgan
Constructor Details
#initialize ⇒ PdbDicMolecule
Returns a new instance of PdbDicMolecule.
52 53 54 55 |
# File 'lib/chem/db/pdb_dic.rb', line 52 def initialize @atoms = {} @bonds = [] end |
Instance Attribute Details
#atoms ⇒ Object (readonly)
Returns the value of attribute atoms.
51 52 53 |
# File 'lib/chem/db/pdb_dic.rb', line 51 def atoms @atoms end |
#bonds ⇒ Object (readonly)
Returns the value of attribute bonds.
51 52 53 |
# File 'lib/chem/db/pdb_dic.rb', line 51 def bonds @bonds end |