cellpy.exceptions#

Exceptions defined within cellpy

Module Contents#

exception ConfigFileNotRead[source]#

Bases: Error

Inheritance diagram of cellpy.exceptions.ConfigFileNotRead

Raised when the configuration file cannot be read

Initialize self. See help(type(self)) for accurate signature.

exception ConfigFileNotWritten[source]#

Bases: Error

Inheritance diagram of cellpy.exceptions.ConfigFileNotWritten

Raised when the configuration file cannot be written

Initialize self. See help(type(self)) for accurate signature.

exception DeprecatedFeature[source]#

Bases: Error

Inheritance diagram of cellpy.exceptions.DeprecatedFeature

Raised when the feature is recently deprecated

Initialize self. See help(type(self)) for accurate signature.

exception Error[source]#

Bases: Exception

Inheritance diagram of cellpy.exceptions.Error

Base class for other exceptions

Initialize self. See help(type(self)) for accurate signature.

exception ExportFailed[source]#

Bases: Error

Inheritance diagram of cellpy.exceptions.ExportFailed

Raised when exporting data failed

Initialize self. See help(type(self)) for accurate signature.

exception FileNotFound[source]#

Bases: Error

Inheritance diagram of cellpy.exceptions.FileNotFound

Raised when the given file is not found

Initialize self. See help(type(self)) for accurate signature.

exception IOError[source]#

Bases: Error

Inheritance diagram of cellpy.exceptions.IOError

Raised when exporting data failed

Initialize self. See help(type(self)) for accurate signature.

exception NoDataFound[source]#

Bases: Error

Inheritance diagram of cellpy.exceptions.NoDataFound

Raised when there are no cells, but a data is needed.

Initialize self. See help(type(self)) for accurate signature.

exception NullData[source]#

Bases: Error

Inheritance diagram of cellpy.exceptions.NullData

Raised when required data is missing (e.g. voltage = None or summary_frames are missing)

Initialize self. See help(type(self)) for accurate signature.

exception UnderDefined[source]#

Bases: Error

Inheritance diagram of cellpy.exceptions.UnderDefined

Raised when trying something that requires you to set a missing prm on environment variable first

Initialize self. See help(type(self)) for accurate signature.

exception WrongFileVersion[source]#

Bases: Error

Inheritance diagram of cellpy.exceptions.WrongFileVersion

Raised when the file version is wrong

Initialize self. See help(type(self)) for accurate signature.