Skip to content

Commit

Permalink
Variable last_time used before definition.
Browse files Browse the repository at this point in the history
  • Loading branch information
drewoldag committed Jul 23, 2024
1 parent b288533 commit 6f2da41
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/kbmod_wf/task_impls/reproject_wu.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ def reproject_workunit(self):
pixel_scale=self.pixel_scale,
)

last_time = time.time()
self.logger.info(f"Reading existing WorkUnit from disk: {self.original_wu_filepath}")
orig_wu = WorkUnit.from_fits(self.original_wu_filepath)
elapsed = round(time.time() - last_time, 1)
Expand Down

0 comments on commit 6f2da41

Please sign in to comment.