From 7fccb2fbbfc281aeeebbfc2f4e8bfa87914282c8 Mon Sep 17 00:00:00 2001 From: Sierra Taylor Moxon Date: Mon, 4 Mar 2024 15:02:52 -0800 Subject: [PATCH] set provider back to MGI to see if that fixes the missing annotations --- src/gopreprocess/ortho_annotation_creation_controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gopreprocess/ortho_annotation_creation_controller.py b/src/gopreprocess/ortho_annotation_creation_controller.py index 40a0fdd..4c73d24 100644 --- a/src/gopreprocess/ortho_annotation_creation_controller.py +++ b/src/gopreprocess/ortho_annotation_creation_controller.py @@ -330,7 +330,7 @@ def generate_annotation( new_annotation.object.taxon = Curie.from_str(self.target_taxon) new_annotation.object_extensions = [] new_annotation.subject_extensions = [] - new_annotation.provided_by = "GO_Central" + new_annotation.provided_by = taxon_to_provider[self.target_taxon] new_annotation.date = datetime.date.today() new_annotation.subject.fullname = target_genes[taxon_to_provider[self.target_taxon] + ":" + gene][ "fullname"