Skip to content

Commit

Permalink
see if reloading fixes plots
Browse files Browse the repository at this point in the history
  • Loading branch information
sroet committed Aug 23, 2024
1 parent 1595a35 commit 81cadb5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_tmjob.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 81cadb5

Please sign in to comment.