From eb58825022a155ffa83549b5d102f74bd51bfc23 Mon Sep 17 00:00:00 2001 From: Jessica Marquis Date: Fri, 1 Mar 2024 14:24:34 -0500 Subject: [PATCH] BUG: Fix accepted input file extension types for ConvertHexGridToSquarGridFilter (#875) --- .../Filters/ConvertHexGridToSquareGridFilter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Plugins/OrientationAnalysis/src/OrientationAnalysis/Filters/ConvertHexGridToSquareGridFilter.cpp b/src/Plugins/OrientationAnalysis/src/OrientationAnalysis/Filters/ConvertHexGridToSquareGridFilter.cpp index 3504d80b38..cb46c05788 100644 --- a/src/Plugins/OrientationAnalysis/src/OrientationAnalysis/Filters/ConvertHexGridToSquareGridFilter.cpp +++ b/src/Plugins/OrientationAnalysis/src/OrientationAnalysis/Filters/ConvertHexGridToSquareGridFilter.cpp @@ -85,8 +85,8 @@ Parameters ConvertHexGridToSquareGridFilter::parameters() const params.insertSeparator(Parameters::Separator{"Orientation Source Data"}); params.insertLinkableParameter(std::make_unique(k_MultipleFiles_Key, "Convert Multiple Files", "True=Convert a list of files, False, just convert a single file", false)); params.insert(std::make_unique(k_Spacing_Key, "Spacing", "Specifies the new spacing values", std::vector{1.0f, 1.0f}, std::vector{"X", "Y"})); - params.insert(std::make_unique(k_InputPath_Key, "Input File", "Path to the single file to convert", fs::path(""), FileSystemPathParameter::ExtensionsType{}, - FileSystemPathParameter::PathType::InputFile, true)); + params.insert(std::make_unique(k_InputPath_Key, "Input File", "Path to the single file to convert", fs::path("input.ang"), FileSystemPathParameter::ExtensionsType{".ang"}, + FileSystemPathParameter::PathType::InputFile, false)); params.insert(std::make_unique(k_GeneratedFileList_Key, "Generated File List", "The values that are used to generate the input file list. See GeneratedFileListParameter for more information.", GeneratedFileListParameter::ValueType{}));