def _set_space_group(self, space_group): index = 0 if space_group in XTAL_SPACEGROUPS: index = XTAL_SPACEGROUPS.index(space_group) self._space_group_change(index) self._vertical_dimension_widget.child("space_group_ledit").setCurrentItem(index)
def _set_space_group(self, space_group): index = 0 if space_group in XTAL_SPACEGROUPS: index = XTAL_SPACEGROUPS.index(space_group) self._space_group_change(index) self._vertical_dimension_widget.\ child('space_group_ledit').setCurrentItem(index)
def _set_space_group(self, space_group): """ Descript. : """ index = 0 if space_group in XTAL_SPACEGROUPS: index = XTAL_SPACEGROUPS.index(space_group) self._space_group_change(index) self._vertical_dimension_widget.space_group_ledit.setCurrentIndex(index)