From 156d586cc390bbd2048c3579b4dd4c9adc39c7a5 Mon Sep 17 00:00:00 2001
From: Peter Swain <peter.swain@ed.ac.uk>
Date: Tue, 28 Jan 2025 19:41:31 +0000
Subject: [PATCH] change(run_wela): changed to GFP_Z

---
 examples/run_wela.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/examples/run_wela.py b/examples/run_wela.py
index f8b3656..91cd0f3 100644
--- a/examples/run_wela.py
+++ b/examples/run_wela.py
@@ -19,7 +19,7 @@ server_info = {
     "username": "upload",
     "password": "gothamc1ty",
 }
-view = True
+view = False
 # pick the experiment to analyse
 omid = 469  # expt_id e.g., 469
 
@@ -44,8 +44,9 @@ if view:
     sys.exit(0)
 else:
     # run dataloader
-    key_index = "median_GFP"
+    key_index = "median_GFP_Z"
     dl = dataloader(h5dir, ".")
+    dl.define_g2a_dict(["GFP_Z"])
     expt = [omid_full for omid_full in omids if str(omid) in omid_full][0]
     dl.load(expt, key_index=key_index, cutoff=0.8)
     dl.save()
-- 
GitLab