<commit_before>

from PyQt4 import QtCore, QtGui, uic


import os

class ClassifierSelectionDlg(QtGui.QDialog):
    def __init__(self, ilastikMain):
        QtGui.QWidget.__init__(self, ilastikMain)
        self.ilastik = ilastikMain
        self.previousClassifier = self.currentClassifier = self.ilastik.project.classifier

        #get the absolute path of the 'ilastik' module
        ilastikPath = os.path.dirname(ilastik.__file__)
        uic.loadUi(ilastikPath+'/gui/classifierSelectionDlg.ui', self)

        self.connect(self.buttonBox, QtCore.SIGNAL('accepted()'), self.accept)
        self.connect(self.buttonBox, QtCore.SIGNAL('rejected()'), self.reject)
        self.connect(self.settingsButton, QtCore.SIGNAL('pressed()'), self.classifierSettings)

        self.classifiers = ilastik.core.classifiers.classifierBase.ClassifierBase.__subclasses__()
        self.classifiers = ilastikClassifiers.classifierBase.ClassifierBase.__subclasses__()
        j = 0
        for i, c in enumerate(self.classifiers):
            #qli = QtGui.QListWidgetItem(c.name)
            self.listWidget.addItem(c.name)
            if c == self.currentClassifier:
                j = i

        self.connect(self.listWidget, QtCore.SIGNAL('currentRowChanged(int)'), self.currentRowChanged)<commit_msg>changes (minor) to the Classification Dialgo, seems that merge gone wrong<commit_after>

from PyQt4 import QtCore, QtGui, uic
import ilastik


import os

class ClassifierSelectionDlg(QtGui.QDialog):
    def __init__(self, ilastikMain):
        QtGui.QWidget.__init__(self, ilastikMain)
        self.ilastik = ilastikMain
        self.previousClassifier = self.currentClassifier = self.ilastik.project.classifier

        #get the absolute path of the 'ilastik' module
        ilastikPath = os.path.dirname(ilastik.__file__)
        uic.loadUi(ilastikPath+'/gui/classifierSelectionDlg.ui', self)

        self.connect(self.buttonBox, QtCore.SIGNAL('accepted()'), self.accept)
        self.connect(self.buttonBox, QtCore.SIGNAL('rejected()'), self.reject)
        self.connect(self.settingsButton, QtCore.SIGNAL('pressed()'), self.classifierSettings)

        self.classifiers = ilastik.core.classifiers.classifierBase.ClassifierBase.__subclasses__()
        j = 0
        for i, c in enumerate(self.classifiers):
            #qli = QtGui.QListWidgetItem(c.name)
            self.listWidget.addItem(c.name)
            if c == self.currentClassifier:
                j = i

        self.connect(self.listWidget, QtCore.SIGNAL('currentRowChanged(int)'), self.currentRowChanged)
{'fraction_non_alphanumeric': 0.10756040530007795, 'fraction_numerical': 0.001558846453624318, 'mean_word_length': 3.3215488215488214, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4541492', 'n_tokens_mistral': 798, 'n_tokens_neox': 782, 'n_words': 137}