Skip to content

Commit c66b715

Browse files
committed
fix CV term for mut desc note dtos
1 parent 9fc2825 commit c66b715

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/allele_handlers.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -472,8 +472,8 @@ def map_allele_mutation_types(self):
472472

473473
# billy bob
474474
def generate_aggregated_allele_mutation_descriptions(self):
475-
"""Generate an aggregate Alliance allele mutation_description from relevant featureprops."""
476-
self.log.info('Generate an aggregate Alliance allele mutation_description from relevant featureprops.')
475+
"""Generate an aggregate Alliance allele mutation_description notes from relevant featureprops."""
476+
self.log.info('Generate an aggregate Alliance allele mutation_description notes from relevant featureprops.')
477477
counter = 0
478478
relevant_prop_types = ['molecular_info', 'aminoacid_rep']
479479
for allele in self.fb_data_entities.values():
@@ -499,10 +499,10 @@ def generate_aggregated_allele_mutation_descriptions(self):
499499
allele_desc_strs.append(prop_str)
500500
allele_desc_strs.sort()
501501
allele_desc_str = ' '.join(allele_desc_strs)
502-
mut_type_note_dto = agr_datatypes.NoteDTO('mutation_type', allele_desc_str, []).dict_export()
502+
mut_type_note_dto = agr_datatypes.NoteDTO('mutation_description', allele_desc_str, []).dict_export()
503503
allele.linkmldto.note_dtos.append(mut_type_note_dto)
504504
counter += 1
505-
self.log.info(f'Generated {counter} allele mutation_type descriptions.')
505+
self.log.info(f'Generated {counter} allele mutation_description notes.')
506506
return
507507

508508
def map_inheritance_modes(self):

0 commit comments

Comments
 (0)