Author: bugman Date: Fri Apr 4 14:30:41 2008 New Revision: 5294 URL: http://svn.gna.org/viewcvs/relax?rev=5294&view=rev Log: Fixed the import of the structure package. Modified: 1.3/prompt/structure.py Modified: 1.3/prompt/structure.py URL: http://svn.gna.org/viewcvs/relax/1.3/prompt/structure.py?rev=5294&r1=5293&r2=5294&view=diff ============================================================================== --- 1.3/prompt/structure.py (original) +++ 1.3/prompt/structure.py Fri Apr 4 14:30:41 2008 @@ -24,7 +24,7 @@ import sys # relax module imports. -from generic_fns import structure +import structure import help from relax_errors import RelaxBinError, RelaxFloatError, RelaxIntError, RelaxNoneIntError, RelaxNoneStrError, RelaxNumError, RelaxStrError @@ -163,7 +163,7 @@ raise RelaxBinError, ('force flag', force) # Execute the functional code. - structure.create_diff_tensor_pdb(scale=scale, file=file, dir=dir, force=force) + structure.geometric.create_diff_tensor_pdb(scale=scale, file=file, dir=dir, force=force) def create_vector_dist(self, length=2e-9, symmetry=1, file='XH_dist.pdb', dir=None, force=0): @@ -229,7 +229,7 @@ raise RelaxBinError, ('force flag', force) # Execute the functional code. - structure.create_vector_dist(length=length, symmetry=symmetry, file=file, dir=dir, force=force) + structure.geometric.create_vector_dist(length=length, symmetry=symmetry, file=file, dir=dir, force=force) def read_pdb(self, file=None, dir=None, model=None, parser='scientific', load_seq=True, spin_id='@N'):