From 189cebdb5d34ed7562dc8254ce06f2f9689c641b Mon Sep 17 00:00:00 2001
From: Eric Kooistra <kooistra@astron.nl>
Date: Thu, 12 Dec 2024 16:40:01 +0100
Subject: [PATCH] PYTHONPATH in cell.

---
 doc/erko_howto_tools.txt | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/doc/erko_howto_tools.txt b/doc/erko_howto_tools.txt
index e0f686325f..7148cb3dfd 100755
--- a/doc/erko_howto_tools.txt
+++ b/doc/erko_howto_tools.txt
@@ -1591,6 +1591,13 @@ Check of SDPTR op dop369 actief is met:
 > uals -u 10.87.2.36:4840 -p "0:Objects"
 
 
+# Add rtdsp module path to $PYTHONPATH in a cell
+import os
+import sys
+module_path = os.path.abspath(os.path.join('../'))
+if module_path not in sys.path:
+    sys.path.insert(0, module_path)
+
 *******************************************************************************
 * Graphana
 *******************************************************************************
-- 
GitLab