ert icon indicating copy to clipboard operation
ert copied to clipboard

SubstConfig has different default when passed with config_dict and filname

Open eivindjahren opened this issue 1 year ago • 0 comments

>>> from ert._c_wrappers.enkf import SubstConfig
>>> filename = "..." # name of config file
>>> config_dict = {...} # Config dictionary with same values as the config file
>>> SubstConfig(filename)
SubstConfig([(<DATE>, 2022-08-23, The current date.), (<NUM_CPU>, 1, Supplied by the user in the configuration file.) ...
>>> SubstConfig(config_dict=config_dict)
SubstConfig([(<DATE>, 2022-08-23, The current date.), (<NUM_CPU>, 0, The number of CPU used for one forward model.) ...
``

eivindjahren avatar Aug 23 '22 12:08 eivindjahren