def _updateParticle(self, item, row): item.setClassId(row.getValue(md.RLN_PARTICLE_CLASS)) item.setTransform(rowToAlignment(row, em.ALIGN_2D)) item._rlnNormCorrection = em.Float(row.getValue('rlnNormCorrection')) item._rlnLogLikeliContribution = em.Float(row.getValue('rlnLogLikeliContribution')) item._rlnMaxValueProbDistribution = em.Float(row.getValue('rlnMaxValueProbDistribution')) item._rlnGroupName = em.String(row.getValue('rlnGroupName'))
def _updateParticle(self, particle, row): particle._coordinate._micName = em.String( row.getValue('rlnMicrographName'))