Skip to content

Commit

Permalink
Also Add a name to the workflow run to make it easier to identify in …
Browse files Browse the repository at this point in the history
…tower
  • Loading branch information
tcezard committed Jun 13, 2024
1 parent 7c98b8c commit f855371
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,11 @@ def run_release_for_species(taxonomy_id, release_assemblies, release_version, re
workflow_file_path = get_run_release_for_assembly_nextflow()
release_dir = get_assembly_release_folder(release_version, taxonomy_id, assembly_accession)
nextflow_config = get_nextflow_config()
run_name = f'release_{release_version}_{taxonomy_id}_{assembly_accession}'
workflow_command = ' '.join((
f"cd {release_dir} &&",
f"{cfg.query('executable', 'nextflow')} run {workflow_file_path}",
f"-name {run_name}",
f"-params-file {nextflow_params}",
f'-c {nextflow_config}' if nextflow_config else '',
'-resume' if resume else '',
Expand Down

0 comments on commit f855371

Please sign in to comment.