Skip to content

Commit

Permalink
Fall back to normal imaging directory when temp dir is not requested
Browse files Browse the repository at this point in the history
  • Loading branch information
e-koch committed Oct 9, 2024
1 parent 8e66c9b commit 25e96c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions phangsPipeline/handlerImagingChunked.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,10 @@ def __init__(


if make_temp_dir:
self._this_imaging_dir = f"{this_imaging_dir}/chunk_{chunk_num}"
self._this_imaging_dir = f"{self._orig_imaging_dir}/chunk_{chunk_num}"
os.makedirs(self._this_imaging_dir, exist_ok=True)
else:
self._this_imaging_dir = this_imaging_dir
self._this_imaging_dir = self._orig_imaging_dir

# Set a flag to check on whether we need to move clean-up the final products
self._uses_tempdir = make_temp_dir
Expand Down

0 comments on commit 25e96c0

Please sign in to comment.