Skip to content

Commit

Permalink
ENH: Add Default Extension (.csv) to WriteFeatureDataAsCSVFilter (#963)
Browse files Browse the repository at this point in the history
  • Loading branch information
nyoungbq authored May 17, 2024
1 parent 5851127 commit c0c6282
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ Parameters WriteFeatureDataCSVFilter::parameters() const
Parameters params;
// Create the parameter descriptors that are needed for this filter
params.insertSeparator(Parameters::Separator{"Input Parameter(s)"});
params.insert(std::make_unique<FileSystemPathParameter>(k_FeatureDataFile_Key, "Output File", "Path to the output file to write.", fs::path(""), FileSystemPathParameter::ExtensionsType{},
FileSystemPathParameter::PathType::OutputFile));
params.insert(std::make_unique<FileSystemPathParameter>(k_FeatureDataFile_Key, "Output File", "Path to the output file to write.", fs::path("feature_data.csv"),
FileSystemPathParameter::ExtensionsType{".csv"}, FileSystemPathParameter::PathType::OutputFile, true));
params.insert(std::make_unique<BoolParameter>(k_WriteNeighborListData_Key, "Write Neighbor Data", "Should the neighbor list data be written to the file", true));
params.insert(std::make_unique<BoolParameter>(k_WriteNumFeaturesLine_Key, "Write Number of Features Line", "Should the number of features be written to the file.", true));
params.insert(std::make_unique<ChoicesParameter>(k_DelimiterChoiceInt_Key, "Delimiter", "Default Delimiter is Comma", to_underlying(OStreamUtilities::Delimiter::Comma),
Expand Down

0 comments on commit c0c6282

Please sign in to comment.