File tree Expand file tree Collapse file tree 1 file changed +3
-18
lines changed
Expand file tree Collapse file tree 1 file changed +3
-18
lines changed Original file line number Diff line number Diff line change 3232from ngcsimlib .context import Context , ContextObjectTypes
3333from ngcsimlib import Component
3434from ngcsimlib .compartment import Compartment
35-
36- from ngcsimlib import logger
35+ from ngcsimlib import logger , configure
3736
3837if not Path (argv [0 ]).name == "sphinx-build" or Path (argv [0 ]).name == "build.py" :
3938 if "readthedocs" not in argv [0 ]: ## prevent readthedocs execution of preload
40- # configure()
41- # logger.init_logging()
42- # from ngcsimlib.configManager import get_config
43- # pkg_config = get_config("packages")
44- # if pkg_config is not None:
45- # use_base_numpy = pkg_config.get("use_base_numpy", False)
46- # if use_base_numpy:
47- # import numpy as numpy
48- # else:
49- # from jax import numpy
50- # else:
51- # from jax import numpy
52- #
53- #
54- # preload_modules()
55- a = 2
39+ configure ()
40+ logger .init_logging ()
You can’t perform that action at this time.
0 commit comments