mgrs Package

mgrs Package

class LocMgr[source]

Bases: object

_locations = {'rootdir': '/home/docs/checkouts/readthedocs.org/user_builds/morphforge/envs/stable/local/lib/python2.7/site-packages'}
classmethod ensure_dir_exists(dir_location)[source]

Helper function that will make directories if they don’t exist.

Useful for temporary locations

classmethod get_bin_path()[source]
classmethod get_default_channel_summary_output_dir()[source]
classmethod get_default_mod_builddir()[source]
classmethod get_default_mod_outdir()[source]
classmethod get_default_output_dir()[source]
classmethod get_default_summary_output_dir()[source]
classmethod get_log_path()[source]
classmethod get_path_from_rcfile(subsection, default)[source]
classmethod get_ply_parsetab_path(subdir)[source]
classmethod get_root_path()[source]
classmethod get_simulation_results_tmp_dir()[source]
classmethod get_simulation_tmp_dir()[source]
classmethod get_temporary_filename(suffix='', filedirectory=None)[source]
classmethod get_test_mods_path()[source]
classmethod get_test_srcs_path()[source]
classmethod get_tmp_path()[source]
classmethod validate_exists(cell_location)[source]

Helper function to ensure that returned path actually does exist

class LogMgr[source]

Bases: object

_initialised_state = 'Ready'
classmethod _is_logging_active_and_ready()[source]
classmethod _pyfile_to_modulename(filename)[source]
classmethod config()[source]
classmethod create_logger(log_name)[source]
classmethod debug(msg)[source]
classmethod get_caller()[source]
classmethod get_logger()[source]
classmethod info(msg)[source]
classmethod info_from_logger(msg)[source]
loggers = {'morphforge.core.logmgr': <logging.Logger object at 0x7f0a8fcf1f50>, 'DISABLEDLOGGING': <logging.Logger object at 0x7f0a8fd031d0>}
classmethod warning(msg)[source]
class SettingsMgr[source]

Bases: object

Doc String for Settings Manager

_clearTempAllAt_start = True
_logging = False
classmethod get_ply_yacc_debug_flag()[source]
classmethod is_logging()[source]
classmethod simulator_is_verbose()[source]
class RCMgr[source]

Bases: object

_rc_config_parser = None
_rc_filename = '/home/docs/.morphforgerc'
classmethod get(section, option)[source]
classmethod get_config()[source]
classmethod has(section, option)[source]
classmethod has_config()[source]

locmgr Module

class LocMgr[source]

Bases: object

_locations = {'rootdir': '/home/docs/checkouts/readthedocs.org/user_builds/morphforge/envs/stable/local/lib/python2.7/site-packages'}
classmethod ensure_dir_exists(dir_location)[source]

Helper function that will make directories if they don’t exist.

Useful for temporary locations

classmethod get_bin_path()[source]
classmethod get_default_channel_summary_output_dir()[source]
classmethod get_default_mod_builddir()[source]
classmethod get_default_mod_outdir()[source]
classmethod get_default_output_dir()[source]
classmethod get_default_summary_output_dir()[source]
classmethod get_log_path()[source]
classmethod get_path_from_rcfile(subsection, default)[source]
classmethod get_ply_parsetab_path(subdir)[source]
classmethod get_root_path()[source]
classmethod get_simulation_results_tmp_dir()[source]
classmethod get_simulation_tmp_dir()[source]
classmethod get_temporary_filename(suffix='', filedirectory=None)[source]
classmethod get_test_mods_path()[source]
classmethod get_test_srcs_path()[source]
classmethod get_tmp_path()[source]
classmethod validate_exists(cell_location)[source]

Helper function to ensure that returned path actually does exist

logmgr Module

class LogMgr[source]

Bases: object

_initialised_state = 'Ready'
classmethod _is_logging_active_and_ready()[source]
classmethod _pyfile_to_modulename(filename)[source]
classmethod config()[source]
classmethod create_logger(log_name)[source]
classmethod debug(msg)[source]
classmethod get_caller()[source]
classmethod get_logger()[source]
classmethod info(msg)[source]
classmethod info_from_logger(msg)[source]
loggers = {'morphforge.core.logmgr': <logging.Logger object at 0x7f0a8fcf1f50>, 'DISABLEDLOGGING': <logging.Logger object at 0x7f0a8fd031d0>}
classmethod warning(msg)[source]
class LogMgrState[source]

Bases: object

Configuring = 'Configuring'
Ready = 'Ready'
Uninitialised = 'Uninitalised'

rcmgr Module

class RCMgr[source]

Bases: object

_rc_config_parser = None
_rc_filename = '/home/docs/.morphforgerc'
classmethod get(section, option)[source]
classmethod get_config()[source]
classmethod has(section, option)[source]
classmethod has_config()[source]

settingsmgr Module

class SettingsMgr[source]

Bases: object

Doc String for Settings Manager

_clearTempAllAt_start = True
_logging = False
classmethod get_ply_yacc_debug_flag()[source]
classmethod is_logging()[source]
classmethod simulator_is_verbose()[source]