@classmethod
  def CreateWithAllComps(cls, oDict, obsPrior, compDictList):
    if oDict in 'min_covar':
      mc = oDict['min_covar']
      self = cls(oDict['inferType'], obsPrior=obsPrior, min_covar=mc)
    else:
      self = cls(oDict['inferType'], obsPrior=obsPrior)
    self.K = len(compDictList)
    self.comp = [None for k in range(self.K)]
    if self.inferType == 'EM':
      for k in xrange(self.K):
        self.comp[k] = ZMGaussDistr( **compDictList[k] )
        self.D = self.comp[k].D
    elif self.inferType.count('VB') > 0:
      for k in xrange(self.K):
        self.comp[k] = WishartDistr( **compDictList[k] )
        self.D = self.comp[k].D
    return self

  ######################################################### Accessors
  #########################################################
dataset/ETHPy150Open daeilkim/refinery/refinery/bnpy/bnpy-dev/bnpy/obsmodel/ZMGaussObsModel.py/ZMGaussObsModel.CreateWithAllComps/swapped operands of `in`