Replaced use of Dimension call with clone
@@ -63,7 +63,7 @@ def replace_dimensions(dimensions, overrides):
elif isinstance(override, Dimension):
replaced.append(override)
elif isinstance(override, dict):
- replaced.append(d(override.get('name',None),
+ replaced.append(d.clone(override.get('name',None),
**{k:v for k,v in override.items() if k != 'name'}))
else:
raise ValueError('Dimension can only be overridden '
