Closed OverLordGoldDragon closed 4 years ago
FEATURE: in visuals_gen and visuals_rnn, configs will now keep values of dicts of defaults, unless specifying the same keys. E.g.:
visuals_gen
visuals_rnn
configs
defaults
defaults = {'1': dict(a=1, b=2), '2': dict(c=3, d=4)} configs = {'1': dict(a=3, g=5)} kw = {'1': {'a': 3, 'g': 5, 'b': 2}, '2': {'c': 3, 'd': 4}} # AFTER kw = {'1': {'a': 3, 'g': 5}, '2': {'c': 3, 'd': 4}} # BEFORE
Also will apply deepcopy(configs) to not affect external dict.
deepcopy(configs)
FEATURE: in
visuals_gen
andvisuals_rnn
,configs
will now keep values of dicts ofdefaults
, unless specifying the same keys. E.g.:Also will apply
deepcopy(configs)
to not affect external dict.