main module

mavis.main.check_completion(target_dir)[source]
mavis.main.check_log(log_file)[source]
mavis.main.check_multiple_jobs(directory)[source]

checks the completion of directory with the split jobs

mavis.main.check_single_job(directory)[source]
mavis.main.generate_config(parser, required, optional)[source]
Parameters:
  • parser (argparse.ArgumentParser) – the main parser
  • required – the argparse required arguments group
  • optional – the argparse optional arguments group
mavis.main.main()[source]
mavis.main.main_pipeline(args, configs, convert_config)[source]
mavis.main.time_diff(start, end)[source]
>>> time_diff('2017-04-02 15:10:48.607195', '2017-04-03 17:00:32.671809')
25.83
>>> time_diff('2017-04-03 15:10:48.607195', '2017-04-03 17:00:32.671809')
1.83
mavis.main.unique_exists(pattern)[source]