Commit 61b0ca0d authored by Simon Spannagel's avatar Simon Spannagel
Browse files

Do not lower-case material names, G4 is case sensitive here!

parent 7548eb9c
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -121,7 +121,6 @@ DetectorModel::DetectorModel(std::string type, std::shared_ptr<DetectorAssembly>
        }

        auto material = support_config.get<std::string>("material", "g10");
        std::transform(material.begin(), material.end(), material.begin(), ::tolower);
        auto hole_type = support_config.get<std::string>("hole_type", "rectangular");
        std::transform(hole_type.begin(), hole_type.end(), hole_type.begin(), ::tolower);
        auto hole_size = support_config.get<XYVector>("hole_size", {0, 0});