Minor fix to allow omitting parameter corrections

This commit is contained in:
Jonas Hörsch 2018-07-10 16:34:46 +02:00
parent 1d14166be1
commit b0993c8b52

View File

@ -99,6 +99,8 @@ def _apply_parameter_corrections(n):
for component, attrs in iteritems(corrections): for component, attrs in iteritems(corrections):
df = n.df(component) df = n.df(component)
if attrs is None: continue
for attr, repls in iteritems(attrs): for attr, repls in iteritems(attrs):
for i, r in iteritems(repls): for i, r in iteritems(repls):
if i == 'oid': if i == 'oid':