Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
GreenWizard2015 committed Apr 10, 2024
1 parent 1680f9d commit 1eda483
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,14 @@ def upgrade_configs_structure(config):
hasNewRestorator = 'restoration model' in renderer
if isOldRestorator and not hasNewRestorator:
# if restorator is specified in model, move it to model/renderer
moveField(
['model', 'restorator', 'blur radius encoding'],
['model', 'renderer', 'restoration model', 'blur radius encoding']
)
moveField(
['model', 'restorator', 'residual condition'],
['model', 'renderer', 'restoration model', 'residual condition']
)
moveField(
['model', 'restorator'],
['model', 'renderer', 'restoration model', 'restorator']
Expand Down

0 comments on commit 1eda483

Please sign in to comment.