pyxtal.msg module

exception pyxtal.msg.AtomTypeError(message)[source]

Bases: Error

Exception raised for errors in the Compabality.

expression -- input expression in which the error occurred
message -- explanation of the error
exception pyxtal.msg.CSDError(message)[source]

Bases: Error

Exception raised for errors in the Compabality.

expression -- input expression in which the error occurred
message -- explanation of the error
exception pyxtal.msg.Comp_CompatibilityError(message)[source]

Bases: Error

Exception raised for errors in the Compabality.

expression -- input expression in which the error occurred
message -- explanation of the error
exception pyxtal.msg.ConformerError(message)[source]

Bases: Error

Exception raised for errors in the Compabality.

expression -- input expression in which the error occurred
message -- explanation of the error
exception pyxtal.msg.Error[source]

Bases: Exception

Base class for exceptions in this module.

exception pyxtal.msg.ReadSeedError(message)[source]

Bases: Error

Exception raised for errors in the Compabality.

expression -- input expression in which the error occurred
message -- explanation of the error
exception pyxtal.msg.Symm_CompatibilityError(message)[source]

Bases: Error

Exception raised for errors in the Compabality.

expression -- input expression in which the error occurred
message -- explanation of the error
exception pyxtal.msg.VolumeError(message)[source]

Bases: Error

Exception raised for errors in the Compabality.

expression -- input expression in which the error occurred
message -- explanation of the error
pyxtal.msg.printx(text, priority=1)[source]

Custom printing function based on verbosity.

Parameters:
  • text – string to be passed to print

  • priority – the importance of printing the message 0: Critical; must be printed 1: Warning; unexpected error but program functioning 2: Info; useful but not necessary print out 3: Debug; detailed information for debugging

Returns:

Nothing