msml.env¶
Environment things, such as defining alphabet search path, defining msml-wide options and user configuration
Functions
gather_alphabet_files () |
finds all xml files in the alphabet_search_paths | ||
load_alphabet ([fil]) |
Loads an alphabet from a pickled file | ||
load_envconfig () |
|
||
load_user_file ([loc]) |
load user rc file. |
Classes
-
msml.env.
gather_alphabet_files
()[source]¶ finds all xml files in the alphabet_search_paths :return: list of all xml files in the alphabet_search_paths :rtype: list[path.path]
-
msml.env.
load_alphabet
(fil='alphabet.cache')[source]¶ Loads an alphabet from a pickled file :param fil: :return: Alphabet
-
msml.env.
load_user_file
(loc='~/.config/msmlrc.py')[source]¶ load user rc file.
The user can load custom python code into the msml workflow with the rc file. The rc file lies per default in ~/.config/msmlrc.py, but can be given on the command line interface.
The scope in the file is only alphabet_search_path
Returns: nothing Return type: NoneType