Skip to content

Commit

Permalink
Changing config to search_config.
Browse files Browse the repository at this point in the history
  • Loading branch information
drewoldag committed Aug 6, 2024
1 parent 795f55d commit a5311c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/kbmod_wf/task_impls/ic_to_wu.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ def create_work_unit(self):
self.logger.info(f"ImageCollection read from {self.ic_filepath}, creating work unit next.")

last_time = time.time()
orig_wu = ic.toWorkUnit(config=SearchConfiguration.from_file(self.search_config_filepath))
#! This needs the butler.
orig_wu = ic.toWorkUnit(search_config=SearchConfiguration.from_file(self.search_config_filepath))
elapsed = round(time.time() - last_time, 1)
self.logger.debug(f"Required {elapsed}[s] to create WorkUnit.")

Expand Down

0 comments on commit a5311c8

Please sign in to comment.