searches all affects and returns a list
        that affect the param named 'nme'

def get_affects_for_param(self, nme):
        """
        searches all affects and returns a list
        that affect the param named 'nme'
        """
        res = []
        for a in self.affects:
            if a.name == nme:
                res.append(a)
        return res