sas package

Subpackages

Submodules

sas.logger_config module

class sas.logger_config.SetupLogger(logger_name)[source]

Bases: object

Called at the beginning of run.py or sasview.py

config_development()[source]
config_production()[source]

Module contents

sas.get_app_dir()[source]

The directory where the sasview application is found.

Returns the path to sasview if running in place or installed with setup. If the application is frozen, returns the parent directory of the application resources such as test files and images.

sas.get_user_dir()[source]

The directory where the per-user configuration is stored.

Returns ~/.sasview, creating it if it does not already exist.

sas.get_local_config()[source]

Loads the local config file.

sas.get_custom_config()[source]

Setup the custom config dir and cat file