pypet/naturalnaming.py
def _replace_wildcards(self, name, run_idx=None):
        """Replaces the $ wildcards and returns True/False in case it was replaced"""
        if self._root_instance.f_is_wildcard(name):
            return True, self._root_instance.f_wildcard(name, run_idx)
        else:
            return False, name
def _replace_wildcards(self, name, run_idx=None):
        """Replaces the $ wildcards and returns True/False in case it was replaced"""
        if self._root_instance.f_is_wildcard(name):
            return True, self._root_instance.f_wildcard(name, run_idx)
        else:
            return False, name
Replaces the $ wildcards and returns True/False in case it was replaced