Skip to content

Commit

Permalink
fix(sidereal): catch correct AttributeError
Browse files Browse the repository at this point in the history
  • Loading branch information
ljgray committed Dec 16, 2024
1 parent 4504ebe commit b791006
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion draco/analysis/sidereal.py
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@ def process(self, sstream: containers.SiderealStream) -> containers.SiderealStre
# Helpful for creating generic configs
try:
era = sstream.effective_ra[:].local_array
except KeyError:
except AttributeError:
self.log.info(
f"Dataset of type ({type(sstream)}) does not have an effective "
"ra dataset. No correction will be applied."
Expand Down

0 comments on commit b791006

Please sign in to comment.