From 81cadb585404819b2733455b83bb569d1a22aae5 Mon Sep 17 00:00:00 2001 From: Sander Roet Date: Fri, 23 Aug 2024 17:12:40 +0200 Subject: [PATCH] see if reloading fixes plots --- tests/test_tmjob.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_tmjob.py b/tests/test_tmjob.py index 9a15b66..5c5ff67 100644 --- a/tests/test_tmjob.py +++ b/tests/test_tmjob.py @@ -10,6 +10,7 @@ from pytom_tm.io import read_mrc, write_mrc, UnequalSpacingError from pytom_tm.extract import extract_particles from testing_utils import CTF_PARAMS, ACCUMULATED_DOSE, TILT_ANGLES +from importlib import reload TOMO_SHAPE = (100, 107, 59) @@ -756,6 +757,8 @@ def test_extractions(self): ) # Test exraction with tophat filter and plotting + # reload is needed for plotting_available caching + reload(extract_particles) df, scores = extract_particles( job, 5,