From 36b69953d2a55fa21f6cb30c2543a215866f8824 Mon Sep 17 00:00:00 2001 From: "Anna (Anya) Parker" <50943381+anna-parker@users.noreply.github.com> Date: Tue, 13 Aug 2024 14:42:10 +0200 Subject: [PATCH] Rename bioproject_accessions to bioproject_accession --- ena-submission/config/config.yaml | 4 ++-- ena-submission/test/external_metadata_test.ndjson | 2 +- ingest/tests/config_cchf/config.yaml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ena-submission/config/config.yaml b/ena-submission/config/config.yaml index 7eb1e2326..be0c548a1 100644 --- a/ena-submission/config/config.yaml +++ b/ena-submission/config/config.yaml @@ -58,7 +58,7 @@ organisms: name: insdc_accession_full_S type: string - externalMetadataUpdater: ena - name: bioproject_accessions + name: bioproject_accession type: string - externalMetadataUpdater: ena name: biosample_accession @@ -105,7 +105,7 @@ organisms: name: insdc_accession_full type: string - externalMetadataUpdater: ena - name: bioproject_accessions + name: bioproject_accession type: string - externalMetadataUpdater: ena name: biosample_accession diff --git a/ena-submission/test/external_metadata_test.ndjson b/ena-submission/test/external_metadata_test.ndjson index b9ab06d0d..939dbf368 100644 --- a/ena-submission/test/external_metadata_test.ndjson +++ b/ena-submission/test/external_metadata_test.ndjson @@ -1 +1 @@ -{"accession": "LOC1", "version": 1, "externalMetadata": {"ncbi_release_date": null,"ncbi_update_date": null,"ncbi_submitter_country": null,"insdc_accession_base": null,"insdc_version": null,"insdc_accession_full": null,"bioproject_accessions": null,"biosample_accession": null,"ncbi_sourcedb": null,"ncbi_virus_name": null,"ncbi_virus_tax_id": null,"sra_run_accession": null}} \ No newline at end of file +{"accession": "LOC1", "version": 1, "externalMetadata": {"ncbi_release_date": null,"ncbi_update_date": null,"ncbi_submitter_country": null,"insdc_accession_base": null,"insdc_version": null,"insdc_accession_full": null,"bioproject_accession": null,"biosample_accession": null,"ncbi_sourcedb": null,"ncbi_virus_name": null,"ncbi_virus_tax_id": null,"sra_run_accession": null}} \ No newline at end of file diff --git a/ingest/tests/config_cchf/config.yaml b/ingest/tests/config_cchf/config.yaml index 86185f133..bff04e5a3 100644 --- a/ingest/tests/config_cchf/config.yaml +++ b/ingest/tests/config_cchf/config.yaml @@ -14,7 +14,7 @@ nucleotide_sequences: - S organism: cchf rename: - bioprojects: bioproject_accessions + bioprojects: bioproject_accession country: geo_loc_country division: geo_loc_admin_1 genbank_accession: insdc_accession_full