From deb67efc66313d617ecb4959f38c74d58df8d4ce Mon Sep 17 00:00:00 2001 From: Sage Wright Date: Tue, 19 Sep 2023 14:23:21 +0000 Subject: [PATCH] fix syntax --- tasks/utilities/task_czgenepi_wrangling.wdl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/utilities/task_czgenepi_wrangling.wdl b/tasks/utilities/task_czgenepi_wrangling.wdl index 25925fb06..3c6c338a3 100644 --- a/tasks/utilities/task_czgenepi_wrangling.wdl +++ b/tasks/utilities/task_czgenepi_wrangling.wdl @@ -79,7 +79,7 @@ task czgenepi_wrangling { print("DEBUG: checking if private_id column was set") if "~{private_id_column_name}" == "~{terra_table_name}_id": - metadata["Private ID"] = metadata["~{private_id_column_name}"] + metadata["Private ID"] = metadata.loc[:, "~{private_id_column_name}"] else: metadata.rename(columns={"~{private_id_column_name}": "Private ID"}, inplace=True)