narupatools.lammps.exceptions

Custom exceptions that wrap LAMMPS output.

Exceptions

AtomIDsNotDefinedError(func_name)

Error raised when gather/scatter commands are used without atom ids.

CannotOpenFileError(message)

Error raised when a file is not found by LAMMPS.

ComputeNotFoundError(key)

Error raised when a compute is requested which is not defined.

IllegalCommandError(message)

Error raised when a command is used incorrectly in LAMMPS.

InvalidComputeSpecificationError(key, style, …)

Error raised when a compute is requested where the types are not defined.

LAMMPSError(message)

Error raised by LAMMPS.

MissingInputScriptError(message)

Error raised when a file is not found by LAMMPS.

UnknownAtomPropertyError(key)

Error raised when gather_atoms is used to get a property which does not exist.

UnknownCommandError(message)

Error raised when an unknown command is used in LAMMPS.

UnknownPropertyNameError()

Error raised when lammps_gather_atoms encounters an unknown property name.

UnrecognizedStyleError(message)

Error raised when a style not recognized by LAMMPS is used.