Skip to content

Commit

Permalink
Make CountExpLim more backward compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
rhiannonlynne committed Mar 5, 2024
1 parent d03240e commit ae81244
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rubin_sim/maf/metrics/simple_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,8 @@ def __init__(self, min_exp=20.0, expected_exp=30.0, exp_col="visitExposureTime",
self.min_exp = min_exp
self.expected_exp = expected_exp
self.exp_col = exp_col
if 'col' in kwargs:
del kwargs['col']
super().__init__(col=[exp_col], **kwargs)
self.metric_dtype = "int"

Expand Down

0 comments on commit ae81244

Please sign in to comment.