Skip to content

Commit

Permalink
Fix assembly upload
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-parker committed Aug 14, 2024
1 parent c43b8dd commit 1702fb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ena-submission/scripts/create_assembly.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ def assembly_table_create(db_config, config, retry_number=3):
results_in_project_table = find_conditions_in_db(
db_config, table_name="project_table", conditions=group_key
)
sample_accession = results_in_sample_table[0]["result"]["sra_run_accession"]
sample_accession = results_in_sample_table[0]["result"]["ena_sample_accession"]
if len(results_in_project_table) == 0:
error_msg = f"Entry {row["accession"]} not found in project_table"
raise RuntimeError(error_msg)
Expand Down

0 comments on commit 1702fb8

Please sign in to comment.