From 3b72c68e0a0c3ef84d77e7645c2ae15299e7bd9b Mon Sep 17 00:00:00 2001
From: "Gervaise H. Henry" <gervaise.henry@utsouthwestern.edu>
Date: Mon, 4 Jan 2021 19:45:01 -0600
Subject: [PATCH] Put newline fix on updates too

---
 workflow/scripts/upload_execution_run.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/workflow/scripts/upload_execution_run.py b/workflow/scripts/upload_execution_run.py
index 273dc5d..2e8ea8d 100644
--- a/workflow/scripts/upload_execution_run.py
+++ b/workflow/scripts/upload_execution_run.py
@@ -44,7 +44,7 @@ def main(hostname, catalog_number, credential):
             "Input_Bag": args.inputBagRID,
             "Notes": args.notes,
             "Execution_Status": args.status,
-            "Execution_Status_Detail": args.statusDetail
+            "Execution_Status_Detail": args.statusDetail.replace('\\n','\n')
         }
         entities = run_table.update([run_data])
         rid = args.update
-- 
GitLab