Skip to content

Commit

Permalink
allow specphot to be None
Browse files Browse the repository at this point in the history
  • Loading branch information
mileslucas committed Aug 31, 2024
1 parent 913d01f commit 21578c1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/vampires_dpp/pipeline/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,10 @@ def process_group(self, group, group_key: str, output_path: Path):
logger.debug(f"Finished frame aligned for group {group_key}")

## Step 5: Spectrophotometric calibration
logger.debug(f"Starting specphot cal for group {group_key}")
hdul = specphot_cal_hdul(hdul, metrics=metrics, config=self.config.specphot)
logger.debug(f"Finished specphot cal for group {group_key}")
if self.config.specphot is not None:
logger.debug(f"Starting specphot cal for group {group_key}")
hdul = specphot_cal_hdul(hdul, metrics=metrics, config=self.config.specphot)
logger.debug(f"Finished specphot cal for group {group_key}")
## Step 6: Coadd
if self.config.coadd.coadd:
logger.debug(f"Starting coadding for group {group_key}")
Expand Down

0 comments on commit 21578c1

Please sign in to comment.