parameter computation working
This commit is contained in:
@@ -7,7 +7,7 @@ import toml
|
||||
from scgenerator import defaults, utils, math
|
||||
from scgenerator.errors import *
|
||||
from scgenerator.physics import pulse, units
|
||||
from scgenerator.utils.parameter import BareConfig, Parameters
|
||||
from scgenerator.utils.parameter import Config, Parameters
|
||||
|
||||
|
||||
def load_conf(name):
|
||||
|
||||
@@ -16,7 +16,7 @@ def conf_maker(folder, val=True):
|
||||
if val:
|
||||
return initialize.Config(**load_conf(folder + "/" + name))
|
||||
else:
|
||||
return initialize.BareConfig(**load_conf(folder + "/" + name))
|
||||
return initialize.Config(**load_conf(folder + "/" + name))
|
||||
|
||||
return conf
|
||||
|
||||
|
||||
Reference in New Issue
Block a user