match_quality should be a value between 0 and 1.

def add(self, domain_accession, domain_type, match_quality):
        '''match_quality should be a value between 0 and 1.'''
        self.matches[domain_type] = self.matches.get(domain_type, {})
        self.matches[domain_type][domain_accession] = match_quality