From d317555d3299024b7a0323c45134b835eb76f9b4 Mon Sep 17 00:00:00 2001
From: Huabin Zhou <huabin.zhou@utsouthwestern.edu>
Date: Mon, 24 Mar 2025 10:38:58 -0500
Subject: [PATCH] Fixt the tomogram contrast config

---
 test/s210/catm/config.py | 1 +
 test/s210/tm/config.py   | 1 +
 2 files changed, 2 insertions(+)

diff --git a/test/s210/catm/config.py b/test/s210/catm/config.py
index c7c1189..a493a58 100644
--- a/test/s210/catm/config.py
+++ b/test/s210/catm/config.py
@@ -19,6 +19,7 @@ tomoID = split_path[-2]
 prefix = tomoID + ".test1.catm"
 input_folder = "inputs/"
 tomogram = input_folder + tomoID + ".test1.lps25.mrc"
+black_on_white = 1 # The contrast of tomogram, 0 if the particle has white contrast (positive values)
 
 templates = [input_folder + "mono-8Apx-lps30-box30-rot12-core.mrc"]
 contour_level = [0.2]
diff --git a/test/s210/tm/config.py b/test/s210/tm/config.py
index 2fa7604..046548b 100644
--- a/test/s210/tm/config.py
+++ b/test/s210/tm/config.py
@@ -19,6 +19,7 @@ tomoID = split_path[-2]
 prefix = tomoID + ".test1"
 input_folder = "inputs/"
 tomogram = input_folder + tomoID + ".test1.lps25.mrc"
+black_on_white = 1 # The contrast of tomogram, 0 if the particle has white contrast (positive values)
 
 templates = [input_folder + "mono-8Apx-lps30-box30-rot12-core.mrc"]
 contour_level = [0.2]
-- 
GitLab