utils/SettingsReader.py
def unique(self, element:str='file', field:str='') -> list:
        """Filters all specified elements by field and returns unique.
        
        :param element: On what element of settings to filter on.
        :param field: For what field to search for.
        :return: List of unique fields in these elements.
        """
        elements = self.settings.findall(element)
        l=[]
        for el in elements:
            l.append(el.get(field))
        return np.unique(l)
Filters all specified elements by field and returns unique.
        
        :param element: On what element of settings to filter on.
        :param field: For what field to search for.
        :return: List of unique fields in these elements.
        
Filters all specified elements by field and returns unique.
Filters all specified elements by field and returns unique .
def unique(self, element:str='file', field:str='') -> list:
        elements = self.settings.findall(element)
        l=[]
        for el in elements:
            l.append(el.get(field))
        return np.unique(l)
def unique ( self , element : str = 'file' , field : str = '' ) -> list : elements = self . settings . findall ( element ) l = [ ] for el in elements : l . append ( el . get ( field ) ) return np . unique ( l )
Filters all specified elements by field and returns unique.
Filters all specified elements by field and returns unique .
"""Filters all specified elements by field and returns unique.
        
        :param element: On what element of settings to filter on.
        :param field: For what field to search for.
        :return: List of unique fields in these elements.
        """
List of unique fields in these elements.
List of unique fields in these elements .
self
element
str
On what element of settings to filter on.
On what element of settings to filter on .
field
str
For what field to search for.
For what field to search for .