def onEditInterpolate(self, event):


        dataframe = self.parent.getRecordService().get_filtered_points()
        try:
            self.isEmptySelection(dataframe)
        except EmptySelection:
            val = wx.MessageBox("You have no points selected, Please select points before interpolating.",
                                    'Interpolation', wx.OK | wx.ICON_EXCLAMATION, parent=self.parent)
            return

        val = wx.MessageBox(len(dataframe) % "You have chosen to interpolate the %s selected points.\nDo you want to continue?",
                                            'Interpolation', wx.YES_NO | wx.ICON_QUESTION | wx.CENTRE, parent=self.parent)
        if val == 2:  #wx.ID_YES:
            self.parent.getRecordService().interpolate()

        event.Skip()
    # ###################################
    #   Flag
    # ###################################
dataset/ETHPy150Open ODM2/ODMToolsPython/odmtools/gui/mnuRibbon.py/mnuRibbon.onEditInterpolate/swapped operands of `%`