Skip to content

Commit

Permalink
move import to top of file
Browse files Browse the repository at this point in the history
  • Loading branch information
mogres committed Aug 15, 2023
1 parent 6d07625 commit 77c4f2c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cellpack/autopack/Analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
from cellpack.autopack.upy import colors as col
from cellpack.autopack.upy.colors import map_colors
from cellpack.autopack.utils import check_paired_key, get_paired_key
from cellpack.autopack.writers.ImageWriter import ImageWriter
import concurrent.futures
import multiprocessing

Expand Down Expand Up @@ -2353,8 +2354,6 @@ def pack_one_seed(
plt.close() # closes the current figure

if image_export_options is not None:
from cellpack.autopack.writers.ImageWriter import ImageWriter

image_writer = ImageWriter(
env=self.env,
name=seed_basename,
Expand Down

0 comments on commit 77c4f2c

Please sign in to comment.