Package lib :: Module errors
[hide private]
[frames] | no frames]

Module errors

source code

Module containing all of the RelaxError objects.

Classes [hide private]
BaseError
The base class for all RelaxErrors.
BaseArgError
The base class for all the argument related RelaxErrors.
RelaxError
RelaxNoModuleInstallError
RelaxFault
RelaxImplementError
RelaxProgError
RelaxMissingBinaryError
RelaxNonExecError
RelaxNoInPathError
RelaxProgFailError
RelaxPdbError
RelaxNoPdbError
RelaxPdbLoadError
RelaxMultiVectorError
RelaxNoVectorsError
RelaxNoPdbChainError
RelaxNucleusError
RelaxSpinTypeError
RelaxInvalidError
RelaxArgNotInListError
RelaxLenError
RelaxNoneError
RelaxArgNotNoneError
RelaxBoolError
RelaxNoneBoolError
RelaxBinError
RelaxFloatError
RelaxNoneFloatError
RelaxNumError
RelaxNoneNumError
RelaxFunctionError
RelaxNoneFunctionError
RelaxIntError
RelaxNoneIntError
RelaxStrError
RelaxNoneStrError
RelaxIntStrError
RelaxNoneIntStrError
RelaxStrFileError
RelaxNoneStrFileError
RelaxArrayError
RelaxArrayFloatError
RelaxArrayIntError
RelaxArrayNumError
RelaxListError
RelaxNoneListError
RelaxListBoolError
RelaxNoneListBoolError
RelaxListFloatError
RelaxNoneListFloatError
RelaxListFloatStrError
RelaxListIntError
RelaxNoneListIntError
RelaxListNumError
RelaxNoneListNumError
RelaxListStrError
RelaxNoneListStrError
RelaxNumpyFloatError
RelaxNumpyIntError
RelaxNumpyNumError
RelaxNoneFloatListError
RelaxNoneFloatStrListError
RelaxBoolListBoolError
RelaxNoneBoolListBoolError
RelaxIntListIntError
RelaxNoneIntListIntError
RelaxNumStrListNumStrError
RelaxNoneNumStrListNumStrError
RelaxStrFileListStrFileError
RelaxStrListError
RelaxNoneStrListError
RelaxStrListNumError
RelaxNoneStrListNumError
RelaxStrListStrError
RelaxNoneStrListStrError
RelaxValListValError
RelaxNoneValListValError
RelaxTupleError
RelaxNoneTupleError
RelaxTupleNumError
RelaxNoneTupleNumError
RelaxNumTupleError
RelaxNumTupleNumError
RelaxNoneNumTupleNumError
RelaxMatrixFloatError
RelaxNoneMatrixFloatError
RelaxNoSequenceError
RelaxSequenceError
RelaxDiffSeqError
RelaxDiffMolNumError
RelaxDiffResNumError
RelaxDiffSpinNumError
RelaxMultiMolIDError
RelaxMultiResIDError
RelaxMultiSpinIDError
RelaxNoResError
RelaxNoSpinError
RelaxInvalidSeqError
RelaxSpinsNotLoadedError
RelaxNoInteratomError
RelaxInteratomError
RelaxInteratomInconsistentError
RelaxNoDomainError
RelaxNoFrqError
RelaxNoPeakIntensityError
RelaxNoSpectraError
RelaxSpectraError
RelaxNoRiError
RelaxRiError
RelaxNoJError
RelaxJError
RelaxNoAlignError
RelaxAlignError
RelaxNoRDCError
RelaxRDCError
RelaxNoPCSError
RelaxPCSError
RelaxMfError
RelaxTensorError
RelaxNoTensorError
RelaxDirError
RelaxFileError
RelaxFileEmptyError
RelaxFileOverwriteError
RelaxInvalidDataError
RelaxBundleError
RelaxNoBundleError
RelaxPipeError
RelaxNoPipeError
RelaxMolSelectDisallowError
RelaxResSelectDisallowError
RelaxSpinSelectDisallowError
RelaxNoSpinSpecError
RelaxFuncSetupError
RelaxModelError
RelaxNoModelError
RelaxRegExpError
RelaxParamSetError
RelaxValueError
RelaxNoValueError
RelaxUnknownDataTypeError
RelaxUnknownParamError
RelaxUnknownParamCombError
RelaxNoSimError
RelaxStyleError
RelaxInvalidColourError
RelaxInfError
RelaxNaNError
RelaxFromXMLNotEmptyError
Functions [hide private]
 
save_state()
Save the program state, for debugging purposes.
source code
str
list_to_text(data)
Convert the given Python list to a text representation.
source code
 
all_errors(names)
Function for returning all the RelaxErrors to allow the AllRelaxError object to be created.
source code
Variables [hide private]
  bz2 = True
  SAVE_ERROR_STATE = False
  ARRAY = 'a list or numpy array'
  ARRAY_FLOAT = 'a list or numpy array of floats'
  ARRAY_INT = 'a list or numpy array of integers'
  ARRAY_NUM = 'a list or numpy array of numbers'
  BIN = 'a binary number (0 or 1)'
  BOOL = 'a Boolean (True or False)'
  INT = 'an integer'
  FILE = 'a file object'
  FLOAT = 'a floating point number'
  FUNC = 'a function'
  LIST = 'a list'
  LIST_BOOL = 'a list of Booleans'
  LIST_FLOAT = 'a list of floating point numbers'
  LIST_INT = 'a list of integers'
  LIST_NUM = 'a list of numbers'
  LIST_STR = 'a list of strings'
  LIST_VAL = 'a list of values'
  MATRIX_FLOAT = 'a matrix of floating point numbers'
  NONE = 'None'
  NUMPY_FLOAT = 'a numpy array of floats'
  NUMPY_INT = 'a numpy array of integers'
  NUMPY_NUM = 'a numpy array of numbers'
  NUM = 'a number'
  TUPLE = 'a tuple'
  TUPLE_FLOAT = 'a tuple of floating point numbers'
  TUPLE_INT = 'a tuple of integers'
  TUPLE_NUM = 'a tuple of numbers'
  TUPLE_STR = 'a tuple of strings'
  STR = 'a string'
  VAL = 'a value'
  AllRelaxErrors = (<class 'lib.errors.RelaxAlignError'>, <class...
  __package__ = 'lib'

Imports: BZ2File, match, search, sys, time, ansi, pickle, human_readable_list


Function Details [hide private]

list_to_text(data)

source code 

Convert the given Python list to a text representation.

Parameters:
  • data (list) - The list of Python objects.
Returns: str
The English text version of the list.

Variables Details [hide private]

AllRelaxErrors

Value:
(<class 'lib.errors.RelaxAlignError'>,
 <class 'lib.errors.RelaxArgNotInListError'>,
 <class 'lib.errors.RelaxArgNotNoneError'>,
 <class 'lib.errors.RelaxArrayError'>,
 <class 'lib.errors.RelaxArrayFloatError'>,
 <class 'lib.errors.RelaxArrayIntError'>,
 <class 'lib.errors.RelaxArrayNumError'>,
 <class 'lib.errors.RelaxBinError'>,
...