def __init__(self, args): self.data_dir = path.abspath(args.data_dir) self.ms_per_bin = args.ms_per_bin self.amplify = args.amplify metadata_path = path.join(self.data_dir, 'pantheon_metadata.json') meta = load_test_metadata(metadata_path) self.cc_schemes = verify_schemes_with_meta(args.schemes, meta) self.run_times = meta['run_times'] self.flows = meta['flows']
def __init__(self, args): self.data_dir = path.abspath(args.data_dir) self.include_acklink = args.include_acklink metadata_path = path.join(args.data_dir, 'pantheon_metadata.json') self.meta = load_test_metadata(metadata_path) self.cc_schemes = verify_schemes_with_meta(args.schemes, self.meta) self.run_times = self.meta['run_times'] self.flows = self.meta['flows'] self.config = parse_config()
def __init__(self, args): self.data_dir = path.abspath(args.data_dir) self.include_acklink = args.include_acklink self.no_graphs = args.no_graphs metadata_path = path.join(self.data_dir, 'pantheon_metadata.json') meta = load_test_metadata(metadata_path) self.cc_schemes = verify_schemes_with_meta(args.schemes, meta) self.run_times = meta['run_times'] self.flows = meta['flows'] self.runtime = meta['runtime'] self.expt_title = self.generate_expt_title(meta)