def _raiseDimError(self, dims, badArr, key=None):
    expectShape = self._getExpectedShape(dims=dims)
    if key is None:
      msg = 'Bad Dims. Expected %s, got %s' % (expectShape, badArr.shape)
    else:
      msg = 'Bad Dims for field %s. Expected %s, got %s' % (key, expectShape, badArr.shape)
    raise ValueError(msg)
Wait for this server to come up
dataset/ETHPy150Open daeilkim/refinery/refinery/bnpy/bnpy-dev/bnpy/suffstats/ParamBag.py/ParamBag._raiseDimError--crossover with--dataset/ETHPy150Open jupyterhub/jupyterhub/jupyterhub/orm.py/Server.wait_up