'Set the group parameter value.'

def setpar(self, parname, value):

    if _is_int(parname):
        self.array[self.row][parname] = value
    else:
        indx = self._unique[parname.upper()]
        if (len(indx) == 1):
            self.array[self.row][indx[0]] = value
        elif (isinstance(value, (list, tuple)) and (len(indx) == len(value))):
            for i in range(len(indx)):
                self.array[self.row][indx[i]] = value[i]
        else:
            raise ValueError('Parameter    value    must    be    a    sequence    with    {}    arrays/numbers.'.format(len(indx)))
