Commit 8db6da13 authored by Håkan Wennlöf's avatar Håkan Wennlöf
Browse files

FOund and fixed a bug, where capitalisation of the words "implant" and "support" didn't work

parent 659a2c4e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -40,7 +40,7 @@ ConfigReader& ConfigReader::operator=(const ConfigReader& other) {
void ConfigReader::copy_init_map() {
    conf_map_.clear();
    for(auto iter = conf_array_.begin(); iter != conf_array_.end(); ++iter) {
        conf_map_[iter->getName()].push_back(iter);
        conf_map_[allpix::transform(iter->getName(), ::tolower)].push_back(iter);
    }
}

+1 −0
Original line number Diff line number Diff line
@@ -127,6 +127,7 @@ DetectorModel::DetectorModel(std::string type,
    }

    // Read support layers
    LOG(DEBUG) << "Number of [support] sections: " << reader_.getConfigurations("support").size();
    for(auto& support_config : reader_.getConfigurations("support")) {
        auto thickness = support_config.get<double>("thickness");
        auto size = support_config.get<XYVector>("size");