processing.settings module

Inheritance diagram of processing.settings
class processing.settings.Configuration(path, data=None)[source]

Bases: UserDict

The internal representation of the .toml configuration files, that store the processing information.

Allows the interaction with these config files to be pretty much equivalent to a basic python dictionary.

write(path_to_write=None)[source]

Writes the processing information to a file.

Parameters:

path_to_write

The path to write the file to. If none given, the input path will be used.

(Default value = None)

modify(key, value)[source]

Allows the access and modification of nested data points.

Parameters:
  • key

  • value

exception processing.settings.IncompleteConfigFile(message)[source]

Bases: Exception

An exception to indicate misformed configuration files.