Author: bugman Date: Wed Nov 14 17:34:23 2012 New Revision: 17972 URL: http://svn.gna.org/viewcvs/relax?rev=17972&view=rev Log: Created the RelaxNoAlignError error class for use by rdc.copy and pcs.copy. Modified: trunk/relax_errors.py Modified: trunk/relax_errors.py URL: http://svn.gna.org/viewcvs/relax/trunk/relax_errors.py?rev=17972&r1=17971&r2=17972&view=diff ============================================================================== --- trunk/relax_errors.py (original) +++ trunk/relax_errors.py Wed Nov 14 17:34:23 2012 @@ -745,6 +745,11 @@ # RDC and PCS data errors. ########################## +# No alignment data. +class RelaxNoAlignError(BaseError): + def __init__(self, align_id, pipe): + self.text = "The alignment ID string '%s' is missing from the data pipe '%s'." % align_id + # No RDC data. class RelaxNoRDCError(BaseError): def __init__(self, id):