Skip to content

Commit

Permalink
fix formatting issue when definining AtNightConstraint
Browse files Browse the repository at this point in the history
  • Loading branch information
HealthyPear committed Sep 20, 2024
1 parent 1bad659 commit f079573
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/iact_estimator/observability.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def define_constraints(config):
zenith = constraints_config["zenith"]

constraints = [
getattr(AtNightConstraint, f"twilight_{constraints_config["twilight"]}")(),
getattr(AtNightConstraint, f"twilight_{constraints_config['twilight']}")(),
MoonSeparationConstraint(
min=u.Quantity(moon["min"]),
max=u.Quantity(moon["max"]),
Expand Down

0 comments on commit f079573

Please sign in to comment.