Skip to content

Commit

Permalink
Merge pull request #524 from alercebroker/fix/idea_for_min_det
Browse files Browse the repository at this point in the history
small idea
  • Loading branch information
AlxEnashi authored Jan 22, 2025
2 parents 3598ba1 + aef5c8e commit 6befad7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lc_classification_step/lc_classification/core/step.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def __init__(self, config={}, level=logging.INFO, model=None, **step_args):
self.step_parser: KafkaParser = get_class(
config["STEP_PARSER_CLASS"]
)()
self.min_detections = config.get("MIN_DETECTIONS", None)
self.min_detections = self.config.get("MIN_DETECTIONS", None)
if self.min_detections is not None:
self.min_detections = int(self.min_detections)

Expand Down

0 comments on commit 6befad7

Please sign in to comment.