Skip to content

Commit 64f9474

Browse files
authored
Merge pull request #360 from broadinstitute/dp-reporting
dashboard tsv should be txt
2 parents 4115847 + 271eaee commit 64f9474

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pipes/WDL/tasks/tasks_utils.wdl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ task tsv_drop_cols {
351351
input {
352352
File in_tsv
353353
Array[String] drop_cols
354-
String out_basename = basename(in_tsv, '.tsv') + ".drop"
354+
String out_filename = basename(in_tsv, '.tsv') + ".drop.tsv"
355355
String docker = "quay.io/broadinstitute/py3-bio:0.1.2"
356356
}
357357
command <<<
@@ -363,7 +363,7 @@ task tsv_drop_cols {
363363
drop_cols = list(x for x in '~{sep="*" drop_cols}'.split('*') if x)
364364
if drop_cols:
365365
df.drop(columns=drop_cols, inplace=True)
366-
df.to_csv("~{out_basename}.tsv", sep='\t', index=False)
366+
df.to_csv("~{out_filename}", sep='\t', index=False)
367367
CODE
368368
>>>
369369
runtime {
@@ -374,7 +374,7 @@ task tsv_drop_cols {
374374
dx_instance_type: "mem1_ssd1_v2_x2"
375375
}
376376
output {
377-
File out_tsv = "~{out_basename}.tsv"
377+
File out_tsv = "~{out_filename}"
378378
}
379379
}
380380

pipes/WDL/workflows/sarscov2_data_release.wdl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ workflow sarscov2_data_release {
8888
input:
8989
in_tsv = select_first([cdc_cumulative_metadata]),
9090
drop_cols = ['internal_id','collaborator_id','matrix_id','hl7_message_id'],
91-
out_basename = "metadata-cumulative"
91+
out_filename = "metadata-cumulative.txt"
9292
}
9393
call terra.gcs_copy as dashboard_delivery {
9494
input:

0 commit comments

Comments
 (0)