class SoAnnotator:

    @staticmethod
    def attach_annotations(gene, so_dataset):
        if gene['soTermId'] in so_dataset:
            gene['soTermName'] = so_dataset[gene['soTermId']]['name'][0]
            return gene

36fcfaf3e808d25ffea10c76c9d8b0cf463df613
<mask token>

class SoAnnotator:
    <mask token>

class SoAnnotator:

    @staticmethod
    def attach_annotations(gene, so_dataset):
        if gene['soTermId'] in so_dataset:
            gene['soTermName'] = so_dataset[gene['soTermId']]['name'][0]
            return gene
