Author: bugman Date: Wed Apr 9 17:22:32 2008 New Revision: 5511 URL: http://svn.gna.org/viewcvs/relax?rev=5511&view=rev Log: Replaced the initialisation of the atomic_data dictionary with an instance of Internal_PDB. Modified: 1.3/generic_fns/structure/geometric.py Modified: 1.3/generic_fns/structure/geometric.py URL: http://svn.gna.org/viewcvs/relax/1.3/generic_fns/structure/geometric.py?rev=5511&r1=5510&r2=5511&view=diff ============================================================================== --- 1.3/generic_fns/structure/geometric.py (original) +++ 1.3/generic_fns/structure/geometric.py Wed Apr 9 17:22:32 2008 @@ -175,8 +175,8 @@ else: pipes = [relax_data_store.current_pipe] - # Initialise the atom and atomic connections data structures. - atomic_data = {} + # Create the structural object. + structure = Internal_PDB() # Loop over the pipes. for pipe_index in xrange(len(pipes)): @@ -351,8 +351,8 @@ # Initialise. ############# - # Initialise the atom and atomic connections data structures. - atomic_data = {} + # Create the structural object. + structure = Internal_PDB() # Initialise the residue number. res_num = 1