Skip to content

Commit 27ea11c

Browse files
committed
f string
1 parent 15b7ec3 commit 27ea11c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

v03_pipeline/lib/tasks/dataproc/base_run_job_on_dataproc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def task(self):
4646

4747
@property
4848
def job_id(self):
49-
return f'{self.task.task_family}-{self.reference_genome[-2:]}-{re.sub(r"\_", "-", self.dataset_type.value)}-{self.run_id}-{self.attempt_id}'
49+
return f"{self.task.task_family}-{self.reference_genome[-2:]}-{re.sub('_', '-', self.dataset_type.value)}-{self.run_id}-{self.attempt_id}"
5050

5151
def requires(self) -> [luigi.Task]:
5252
return [self.clone(CreateDataprocClusterTask)]

0 commit comments

Comments
 (0)