MCPcopy Create free account
hub / github.com/InternScience/SciReason / dispatch_tasks

Function dispatch_tasks

tools/prediction_merger.py:75–84  ·  view source on GitHub ↗
(cfg)

Source from the content-addressed store, hash-verified

73
74
75def dispatch_tasks(cfg):
76 for model in cfg['models']:
77 for dataset in cfg['datasets']:
78 PredictionMerger({
79 'model': model,
80 'dataset': dataset,
81 'work_dir': cfg['work_dir'],
82 'clean': cfg['clean'],
83 'force': cfg['force'],
84 }).run()
85
86
87def main():

Callers 1

mainFunction · 0.70

Calls 2

PredictionMergerClass · 0.70
runMethod · 0.45

Tested by

no test coverage detected