From 783f2754d6a6b085dc9a0195991f8db13f74094d Mon Sep 17 00:00:00 2001 From: Martin Beracochea Date: Mon, 19 Feb 2024 13:12:06 +0000 Subject: [PATCH] Fix mgx_api check_analysis invocation typo --- emgapi/management/commands/populate_metagenomics_exchange.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emgapi/management/commands/populate_metagenomics_exchange.py b/emgapi/management/commands/populate_metagenomics_exchange.py index 294336775..da7e7c252 100644 --- a/emgapi/management/commands/populate_metagenomics_exchange.py +++ b/emgapi/management/commands/populate_metagenomics_exchange.py @@ -135,7 +135,7 @@ def process_to_index_and_update_records(self, analyses_to_index_and_update): logging.info(f"Successfully added {annotation_job}") registry_id, metadata_match = self.mgx_api.check_analysis( mgya=annotation_job.accession, - sequence_id=sequence_accession, + sequence_accession=sequence_accession, ) annotation_job.mgx_accession = registry_id annotation_job.last_mgx_indexed = timezone.now() + timedelta(