Skip to content

DetectorModel: report old implant_size parameter

Simon Spannagel requested to merge fail_implant into master

This MR checks for the old implant_size parameter and prints a warning. Initially I had thrown a InvalidValueError, but to stay consistent with other old parameters that are simply ignored, I opted for a warning instead:

|22:00:03.507| (WARNING) Parameter "implant_size" of model "/tmp/mycrazydetector.conf" not supported,
                         Individual [implant] sections must be used for implant definitions

This fixes #260 (closed)

Merge request reports