Skip to content

Commit

Permalink
force collection_date to be a string
Browse files Browse the repository at this point in the history
  • Loading branch information
cimendes committed Oct 10, 2024
1 parent be24047 commit 74f2c15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/utilities/submission/task_submission.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ task prune_table {
# read export table into pandas
tablename = "~{table_name}-data.tsv"
table = pd.read_csv(tablename, delimiter='\t', header=0, dtype={"~{table_name}_id": 'str'}) # ensure sample_id is always a string)
table = pd.read_csv(tablename, delimiter='\t', header=0, dtype={"~{table_name}_id": 'str', "collection_date": 'str'}) # ensure sample_id is always a string)
# extract the samples for upload from the entire table
table = table[table["~{table_name}_id"].isin("~{sep='*' sample_names}".split("*"))]
Expand Down

0 comments on commit 74f2c15

Please sign in to comment.