Skip to content

Commit eab7748

Browse files
committed
works but does not delete UUID directories. Just the contents of the directories. still have to manually delete the empty UUID directories.
1 parent 26a8a9a commit eab7748

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

phrosty/pipeline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def __init__( self, imagepath, pointing, sca, pipeline ):
6262
if self.keep_intermediate:
6363
self.save_dir = pathlib.Path( self.config.value( 'photometry.phrosty.paths.scratch_dir' ) )
6464
elif not self.keep_intermediate:
65-
self.save_dir = pathlib.Path( self.config.value( 'photometry.phrosty.paths.temp_dir' ) )
65+
self.save_dir = self.temp_dir
6666

6767
if self.config.value( 'photometry.phrosty.image_type' ) == 'ou2024fits':
6868
self.image = OpenUniverse2024FITSImage( imagepath, None, sca )

0 commit comments

Comments
 (0)