neurotorchmz.core.settings#
Provides a module to load and update settings. Provides also the paths of resources and the temp folder for other modules
Functions
Clears the temporary files and folders |
Classes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- class neurotorchmz.core.settings.Config#
Bases:
object- config_parser: ConfigParser#
- config_path: Path#
- classmethod load_config()#
Initializes the config parser
- classmethod save_config() None#
- class neurotorchmz.core.settings.Option(default_value)#
Bases:
object- property config_parser: ConfigParser#
- get()#
- name: str#
- save() None#
- set(val: Any, save: bool = False) None#
- class neurotorchmz.core.settings.UserSettings#
Bases:
Config- class IMAGEJ#
Bases:
Section- config#
alias of
UserSettings
- imagej_path = <neurotorchmz.core.settings.PathOption object>#
- class SIGNAL_DETECTION#
Bases:
Section- config#
alias of
UserSettings
- peak_width_left = <neurotorchmz.core.settings.IntOption object>#
- peak_width_right = <neurotorchmz.core.settings.IntOption object>#
- config_parser: ConfigParser = <configparser.ConfigParser object>#
- config_path: Path = PosixPath('/home/runner/.local/share/NeurotorchMZ/settings.ini')#
- neurotorchmz.core.settings.clear_temp_files()#
Clears the temporary files and folders