Merge pull request #5055 from bska/short-reg-names-redux

Publish Short Region Set Names Only
This commit is contained in:
Markus Blatt 2023-12-12 10:38:00 +01:00 committed by GitHub
commit df0daa1a16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -228,10 +228,12 @@ bool ParallelFieldPropsManager::has_double(const std::string& keyword) const
std::vector<std::string> ParallelFieldPropsManager::fip_regions() const
{
constexpr auto maxchar = std::string::size_type{6};
std::vector<std::string> result;
for (const auto& key : m_intProps) {
if (Fieldprops::keywords::isFipxxx(key.first)) {
result.push_back(key.first);
result.push_back(key.first.substr(0, maxchar));
}
}
return result;