Author: bugman Date: Thu Feb 7 13:40:04 2008 New Revision: 4930 URL: http://svn.gna.org/viewcvs/relax?rev=4930&view=rev Log: Updated the RelaxPdbError class to not require the pipe argument. Modified: 1.3/relax_errors.py Modified: 1.3/relax_errors.py URL: http://svn.gna.org/viewcvs/relax/1.3/relax_errors.py?rev=4930&r1=4929&r2=4930&view=diff ============================================================================== --- 1.3/relax_errors.py (original) +++ 1.3/relax_errors.py Thu Feb 7 13:40:04 2008 @@ -130,8 +130,11 @@ # PDB data corresponding to the data pipe already exists. class RelaxPdbError(BaseError): - def __init__(self, pipe): - self.text = "PDB data corresponding to the data pipe " + `pipe` + " already exists." + def __init__(self, pipe=None): + if pipe != None: + self.text = "PDB data corresponding to the data pipe " + `pipe` + " already exists." + else: + self.text = "PDB data already exists." if Debug: self.save_state()