Skip to content

Commit

Permalink
update to include correct prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
mbthornton-lbl committed Nov 7, 2023
1 parent 2ad6bf4 commit dbc9189
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def _get_change_for_biosample(biosample, ncbi_biosample_accession):
return ChangesheetLineItem(
id=biosample["id"], action="insert",
attribute="insdc_biosample_identifiers",
value=ncbi_biosample_accession, )
value="biosample:" + ncbi_biosample_accession, )

def _get_change_for_omics_processing(omics_processing_record,
ncbi_bioproject_accession):
Expand All @@ -62,7 +62,7 @@ def _get_change_for_omics_processing(omics_processing_record,
return ChangesheetLineItem(
id=omics_processing_id, action="insert",
attribute="insdc_experiment_identifiers",
value=ncbi_bioproject_accession, )
value="bioproject:" + ncbi_bioproject_accession, )


@click.command()
Expand Down Expand Up @@ -114,7 +114,7 @@ def generate_changesheet(study_id, use_dev_api):
ChangesheetLineItem(
id=study_id, action="insert",
attribute="insdc_bioproject_identifiers",
value=UMBRELLA_BIOPROJECT_ACCESSION, )
value="bioproject:" + UMBRELLA_BIOPROJECT_ACCESSION, )
)

gold_study_identifiers = nmdc_study["gold_study_identifiers"]
Expand Down

0 comments on commit dbc9189

Please sign in to comment.