MCPcopy Create free account
hub / github.com/BioinfoMachineLearning/FlowDock / main

Function main

flowdock/sample.py:270–279  ·  view source on GitHub ↗

Main entry point for sampling. :param cfg: DictConfig configuration composed by Hydra.

(cfg: DictConfig)

Source from the content-addressed store, hash-verified

268
269@hydra.main(version_base="1.3", config_path="../configs", config_name="sample.yaml")
270def main(cfg: DictConfig) -> None:
271 """Main entry point for sampling.
272
273 :param cfg: DictConfig configuration composed by Hydra.
274 """
275 # apply extra utilities
276 # (e.g. ask for tags if none are provided in cfg, print cfg tree, etc.)
277 extras(cfg)
278
279 sample(cfg)
280
281
282if __name__ == "__main__":

Callers 1

sample.pyFile · 0.70

Calls 2

extrasFunction · 0.90
sampleFunction · 0.85

Tested by

no test coverage detected