Commit 0f6f56c3 authored by Simon Spannagel's avatar Simon Spannagel
Browse files

Downgrade to a warning

parent ee909dc6
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -87,10 +87,8 @@ DetectorModel::DetectorModel(std::string type, std::shared_ptr<DetectorAssembly>

    // Throw an exception for pre-3.0 implant definitions:
    if(config.has("implant_size")) {
        throw InvalidValueError(
            config,
            "implant_size",
            "implant definition not supported, individual [implant] sections should be used for implant definitions");
        LOG(WARNING) << "Parameter \"implant_size\" of model " << config.getFilePath() << " not supported," << std::endl
                     << "Individual [implant] sections must be used for implant definitions";
    }

    // Read implants