

def __init__(self, shape, param_name, out_name, units):
    super(UnitComp, self).__init__()
    self.param_name = param_name
    self.out_name = out_name
    self.shape = shape
    if (param_name == out_name):
        msg = "UnitComp param_name cannot match out_name: '{name}'"
        raise ValueError(msg.format(name=param_name))
    self.add_param(param_name, shape=out_name, units=units)
    self.add_output(out_name, shape=shape, units=units)

dataset/ETHPy150Open OpenMDAO/OpenMDAO/openmdao/components/unit_comp.py UnitComp.__init__/VarMisuse@82/129 `shape`->`out_name`