Coverage for src/ufig/run_util.py: 100%
4 statements
« prev ^ index » next coverage.py v7.10.2, created at 2025-08-07 15:17 +0000
« prev ^ index » next coverage.py v7.10.2, created at 2025-08-07 15:17 +0000
1# Copyright (c) 2016 ETH Zurich, Institute of Astronomy, Cosmology Research Group
3"""
4Created on Sep 30, 2016
5@author: Joerg Herbel
6"""
8import ivy
11def run_ufig_from_config(config, **kwargs):
12 """
13 Run UFig using an (importable) configuration file. Additional parameters can be
14 provided as keyword arguments.
16 :param config: Importable configuration file.
17 :param kwargs: Additional parameter values.
18 :return: Ivy-context created by UFig
19 """
20 ctx = ivy.execute(config, **kwargs)
21 return ctx