<commit_before>import genUtils
from moduleBase import moduleBase
from moduleMixins import noConfigModuleMixin
import moduleUtils
from wxPython.wx import *
import vtk

class appendPolyData(moduleBase, noConfigModuleMixin):
    """DeVIDE encapsulation of the vtkAppendPolyDataFilter that enables us
    to combine multiple PolyData structures into one.
    """

    _numInputs = 5
    
    def __init__(self, moduleManager):
        # initialise our base class
        moduleBase.__init__(self, moduleManager)
        noConfigModuleMixin.__init__(self)

        # underlying VTK thingy
        self._appendPolyData = vtk.vtkAppendPolyData()
        # our own list of inputs
        self._inputStreams = self._numInputs * [None]

        moduleUtils.setupVTKObjectProgress(self, self._appendPolyData,
                                           'Appending PolyData')

        self._viewFrame = self._createViewFrame(
            {'vtkAppendPolyData' : self._appendPolyData})

        # pass the data down to the underlying logic<commit_msg>Added comment about filter being borked.<commit_after>import genUtils
from moduleBase import moduleBase
from moduleMixins import noConfigModuleMixin
import moduleUtils
from wxPython.wx import *
import vtk

class appendPolyData(moduleBase, noConfigModuleMixin):
    """DeVIDE encapsulation of the vtkAppendPolyDataFilter that enables us
    to combine multiple PolyData structures into one.

    DANGER <NAME>: contact the author, this module is BROKEN.

    $Revision: 1.4 $
    """

    _numInputs = 5
    
    def __init__(self, moduleManager):
        # initialise our base class
        moduleBase.__init__(self, moduleManager)
        noConfigModuleMixin.__init__(self)

        # underlying VTK thingy
        self._appendPolyData = vtk.vtkAppendPolyData()
        # our own list of inputs
        self._inputStreams = self._numInputs * [None]

        moduleUtils.setupVTKObjectProgress(self, self._appendPolyData,
                                           'Appending PolyData')

        self._viewFrame = self._createViewFrame(
            {'vtkAppendPolyData' : self._appendPolyData})

        # pass the data down to the underlying logic
{'fraction_non_alphanumeric': 0.06135531135531135, 'fraction_numerical': 0.0018315018315018315, 'mean_word_length': 2.8809946714031973, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1862882', 'n_tokens_mistral': 578, 'n_tokens_neox': 561, 'n_words': 167}