

def __setitem__(self, coordinates, value):
    coordinates_len = (len(coordinates) if hasattr(coordinates, '__len__') else 1)
    if (coordinates_len != self.num_dimensions):
        raise InvalidDimensionsError(('Expected %s-dimensional coordinates, got %s' % (self.num_dimensions, coordinates_len)))
    if (self.num_dimensions == 1):
        coordinates = (value,)
    if (coordinates in self.value_dict):
        _LOG.warning('Overriding previous measurement %s[%s] value of %s with %s', self.name, coordinates, self.value_dict[coordinates], value)
    self.value_dict[coordinates] = value
    self.measurement.outcome = Outcome.PARTIALLY_SET

dataset/ETHPy150Open google/openhtf/openhtf/util/measurements.py DimensionedMeasuredValue.__setitem__/VarMisuse@74/110 `coordinates`->`value`