Package mmLib :: Module Structure :: Class Site
[show private | hide private]
[frames | no frames]

Type Site

object --+
         |
        Site


List of Fragments within a structure involved in a SITE description.
Method Summary
  __init__(self, site_id, fragment_list, **args)
  __str__(self)
  add_fragment(self, fragment_dict, fragment)
Adds a Fragment object to the fragment_dict and updates the values in fragment_dict to reflect the new Fragment object.
  construct_fragments(self)
Using the site fragment descriptions, finds the Fragment objects in the parent Model.
  get_model(self)
Returns the parent Model object.
  get_structure(self)
Returns the parent Structure object.
  iter_all_atoms(self)
Iterates all Atom objects plus any in non-default alt_loc conformations.
  iter_atoms(self)
Iterates all Atom objects.
  iter_fragments(self)
Iterates child Fragment objects.
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value

Method Details

add_fragment(self, fragment_dict, fragment)

Adds a Fragment object to the fragment_dict and updates the values in fragment_dict to reflect the new Fragment object. The fragment_dict is added to the Site if it is not already in it.

construct_fragments(self)

Using the site fragment descriptions, finds the Fragment objects in the parent Model.

get_model(self)

Returns the parent Model object.

get_structure(self)

Returns the parent Structure object.

iter_all_atoms(self)

Iterates all Atom objects plus any in non-default alt_loc conformations.

iter_atoms(self)

Iterates all Atom objects.

iter_fragments(self)

Iterates child Fragment objects.

Generated by Epydoc 2.1 on Sun Apr 23 22:08:39 2006 http://epydoc.sf.net