<commit_before>Name = 'TestFilter'
Label = 'Test Filter'
Help = 'Help for the Test Filter'

NumberOfInputs = 1
InputDataType = 'vtkPolyData'
OutputDataType = 'vtkPolyData'
ExtraXml = '''\
<Hints>
    <ShowInMenu category="CSM Geophysics Filters" />
</Hints>
'''


Properties = dict(
    test_bool=True,
    test_int=123,
    test_int_vector=[1, 2, 3],
    test_double=1.23,
    test_double_vector=[1.1, 2.2, 3.3],
    test_string='string value',
)


def RequestData():
    from vtk.util import numpy_support as nps
    pdi = self.GetInput() # VTK Data Type
    pdo = self.GetOutput() # VTK Data Type


def RequestInformation():
    from paraview import util
    # ABSOLUTELY NECESSARY FOR THE IMAGEDATA FILTERS TO WORK:
    #util.SetOutputWholeExtent(self, [0,nx-1, 0,ny-1, 0,nz-1])<commit_msg>Commented out not commonly used part.<commit_after>Name = 'TestFilter'
Label = 'Test Filter'
Help = 'Help for the Test Filter'

NumberOfInputs = 1
InputDataType = 'vtkPolyData'
OutputDataType = 'vtkPolyData'
ExtraXml = '''\
<Hints>
    <ShowInMenu category="CSM Geophysics Filters" />
</Hints>
'''


Properties = dict(
    test_bool=True,
    test_int=123,
    test_int_vector=[1, 2, 3],
    test_double=1.23,
    test_double_vector=[1.1, 2.2, 3.3],
    test_string='string value',
)


def RequestData():
    from vtk.util import numpy_support as nps
    pdi = self.GetInput() # VTK Data Type
    pdo = self.GetOutput() # VTK Data Type


def RequestInformation():
    #from paraview import util
    # ABSOLUTELY NECESSARY FOR THE IMAGEDATA FILTERS TO WORK:
    #util.SetOutputWholeExtent(self, [0,nx-1, 0,ny-1, 0,nz-1])
{'fraction_non_alphanumeric': 0.12647241165530068, 'fraction_numerical': 0.02727836329820211, 'mean_word_length': 3.876132930513595, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '4575438', 'n_tokens_mistral': 624, 'n_tokens_neox': 591, 'n_words': 150}