SDF.config module¶
Settings accessible to the user (via a config file)
-
class
SDFConfig
(use_system_jpkfile: bool = False, use_system_oiffile: bool = False, use_system_mfpfile: bool = False, use_system_tifffile: bool = False)[source]¶ Bases:
object
Representation of the config file
-
determine_config_dir
() → str[source]¶ Returns the absolute path of the sdf configuration directory. Creates the directory if it did not exist.
-
load_config
(config_file) → SDF.config.SDFConfig[source]¶ Load configuration from config_file