Skip to content

Commit

Permalink
Improve behavior in migrating inputs with invalid blank values
Browse files Browse the repository at this point in the history
  • Loading branch information
ntouran committed Dec 21, 2019
1 parent 84a54f9 commit d512153
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion armi/settings/settingsIO.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,8 @@ def _applySettings(self, name, val):
else:
# apply validations
settingObj = self.cs.settings[settingName]
value = applyTypeConversions(settingObj, value)
if value:
value = applyTypeConversions(settingObj, value)
try:
value = settingObj.schema(value)
except:
Expand Down

0 comments on commit d512153

Please sign in to comment.