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(