pyrqa/opencl.py
def search_paths(self, search_path, kernel_file_name):
        """
        Search a given search path and sub paths.

        :param search_path: Path to search for kernel files.
        :param kernel_file_name: Name of kernel file.
        :returns: Content of kernel file.
        :rtype: String.
        """
        try:
            return FileReader.file_as_string(os.path.join(search_path, 'kernels'), kernel_file_name)
        except IOError:
            try:
                return FileReader.file_as_string(os.path.join(search_path, 'kernels', self.similarity_measure_name), kernel_file_name)
            except IOError:
                return ''

        Search a given search path and sub paths.

        :param search_path: Path to search for kernel files.
        :param kernel_file_name: Name of kernel file.
        :returns: Content of kernel file.
        :rtype: String.
        
Search a given search path and sub paths.
Search a given search path and sub paths .
def search_paths(self, search_path, kernel_file_name):
        try:
            return FileReader.file_as_string(os.path.join(search_path, 'kernels'), kernel_file_name)
        except IOError:
            try:
                return FileReader.file_as_string(os.path.join(search_path, 'kernels', self.similarity_measure_name), kernel_file_name)
            except IOError:
                return ''
def search_paths ( self , search_path , kernel_file_name ) : try : return FileReader . file_as_string ( os . path . join ( search_path , 'kernels' ) , kernel_file_name ) except IOError : try : return FileReader . file_as_string ( os . path . join ( search_path , 'kernels' , self . similarity_measure_name ) , kernel_file_name ) except IOError : return ''
Search a given search path and sub paths.
Search a given search path and sub paths .
"""
        Search a given search path and sub paths.

        :param search_path: Path to search for kernel files.
        :param kernel_file_name: Name of kernel file.
        :returns: Content of kernel file.
        :rtype: String.
        """
Content of kernel file.
Content of kernel file .
String.
self
search_path
Path to search for kernel files.
Path to search for kernel files .
kernel_file_name
Name of kernel file.
Name of kernel file .