Skip to content

Commit

Permalink
fix broken import lingering
Browse files Browse the repository at this point in the history
  • Loading branch information
sroet committed Aug 23, 2024
1 parent 81cadb5 commit b1f404a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/test_tmjob.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
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 @@ -757,8 +756,6 @@ 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
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This file is named testzz_* as it should run last,
# because it permanently destroys the imports
# No imports of pytom_tm outside of the methods
import unittest
from importlib import reload
Expand Down

0 comments on commit b1f404a

Please sign in to comment.