Skip to content

Commit

Permalink
remove duplicated thing
Browse files Browse the repository at this point in the history
  • Loading branch information
sage-wright committed Dec 11, 2024
1 parent e8087e7 commit cdcf302
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions tbp_parser/Variant.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,13 +112,6 @@ def extract_annotations(self):
self.logger.debug("VAR:The drug ({}) was not found in the annotation dictionary; adding it with a WHO confidence of 'No WHO annotation'".format(drug))
self.annotation_dictionary[drug] = Row(self.logger, self, "No WHO annotation", drug)

if self.gene_name in globals.GENE_TO_ANTIMICROBIAL_DRUG_NAME.keys():
for antimicrobial in globals.GENE_TO_ANTIMICROBIAL_DRUG_NAME[self.gene_name]:
if antimicrobial not in self.annotation_dictionary.keys():
self.logger.debug("VAR: The drug ({}) was not found in the gene associated drug list; adding it with a WHO confidence of 'No WHO annotation'".format(antimicrobial))
self.annotation_dictionary[antimicrobial] = Row(self.logger, self, "No WHO annotation", antimicrobial, source="Mutation effect for given drug is not in TBDB")


if self.gene_name in globals.GENE_TO_ANTIMICROBIAL_DRUG_NAME.keys():
for antimicrobial in globals.GENE_TO_ANTIMICROBIAL_DRUG_NAME[self.gene_name]:
if antimicrobial not in self.annotation_dictionary.keys():
Expand Down

0 comments on commit cdcf302

Please sign in to comment.