Skip to content

Commit

Permalink
Remove some unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Aug 6, 2024
1 parent a1a5fec commit f93a716
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions python/target_selection/skies.py
Original file line number Diff line number Diff line change
Expand Up @@ -1243,10 +1243,6 @@ def is_valid_sky(
for cat_name in catalogues:
if cat_name in DEFAULT_CATALOGUE_PARAMS:
default_params = DEFAULT_CATALOGUE_PARAMS[cat_name].copy()

# This should always be true, but check that the default parameters match the model.
CatalogueParams(**default_params)

else:
if param_overrides is None or cat_name not in param_overrides:
raise ValueError(
Expand Down

0 comments on commit f93a716

Please sign in to comment.