Author: bugman Date: Wed Dec 3 20:54:16 2008 New Revision: 8106 URL: http://svn.gna.org/viewcvs/relax?rev=8106&view=rev Log: Converted the symmetry flag to a bool. 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=8106&r1=8105&r2=8106&view=diff ============================================================================== --- 1.3/generic_fns/structure/geometric.py (original) +++ 1.3/generic_fns/structure/geometric.py Wed Dec 3 20:54:16 2008 @@ -304,14 +304,14 @@ tensor_pdb_file.close() -def create_vector_dist(length=None, symmetry=1, file=None, dir=None, force=False): +def create_vector_dist(length=None, symmetry=True, file=None, dir=None, force=False): """Create a PDB representation of the XH vector distribution. @param length: The length to set the vectors to in the PDB file. @type length: float @param symmetry: The symmetry flag which if set will create a second PDB chain 'B' which is the same as chain 'A' but with the XH vectors reversed. - @type symmetry: int + @type symmetry: bool @param file: The name of the PDB file to create. @type file: str @param dir: The name of the directory to place the PDB file into.