Skip to content

Commit

Permalink
Use correct output name and directory for reprojected work.
Browse files Browse the repository at this point in the history
  • Loading branch information
drewoldag committed Aug 6, 2024
1 parent 21a5d82 commit 2568690
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/kbmod_wf/task_impls/reproject_wu.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,14 @@ def reproject_workunit(self):
self.logger.debug(f"Reprojecting WorkUnit with {self.n_workers} workers...")
last_time = time.time()

directory_containing_reprojected_shards, reprojected_wu_filename = os.path.split(
self.reprojected_wu_filepath
)
reprojection.reproject_lazy_work_unit(
wu,
patch_wcs,
directory_containing_shards,
wu_filename,
directory_containing_reprojected_shards,
reprojected_wu_filename,
frame="ebd",
max_parallel_processes=self.n_workers,
)
Expand Down

0 comments on commit 2568690

Please sign in to comment.