bioflow.utils package

Submodules

bioflow.utils.dataviz module

bioflow.utils.gdfExportInterface module

bioflow.utils.io_routines module

bioflow.utils.linalg_routines module

bioflow.utils.log_behavior module

File managing most of the logging behavior of the application.

bioflow.utils.log_behavior.add_to_file_handler(my_logger, level, file_name, rotating=False, log_location='/home/docs/bioflow/.internal/logs', _formatter=<logging.Formatter object>)[source]

Adds a file-writing handler for the log.

Parameters:
  • my_logger – the logger to which add a handler
  • level – logging.DEBUG or other level
  • file_name – short file name, that will be stored within the application logs location
  • rotating – if true, rotating file handler will be added.
Returns:

bioflow.utils.log_behavior.clear_logs()[source]

Wipes all logs

bioflow.utils.log_behavior.get_logger(logger_name)[source]

Returns a properly configured logger object

Parameters:logger_name – name of the logger object
bioflow.utils.log_behavior.mkdir_recursive(my_path)[source]

Copy of mkdir recursive from saner configs, used here to remove circular dependencies Recursively creates a directory that would contain a file given a windows-like filename (xxx.xxx) or a directory name

Parameters:my_path – path which to recursively create
Returns:None
bioflow.utils.log_behavior.wipe_dir(my_path)[source]

wipes the indicated directory

Parameters:my_path – path to wipe
Returns:True on success

bioflow.utils.random_path_statistics module

bioflow.utils.remap_IDs module

bioflow.utils.smtp_log_behavior module

bioflow.utils.source_dbs_download module

bioflow.utils.top_level module

bioflow.utils.usage_ex-average_path_length module

Module contents