diff --git a/src/Plugins/OrientationAnalysis/docs/ConvertHexGridToSquareGridFilter.md b/src/Plugins/OrientationAnalysis/docs/ConvertHexGridToSquareGridFilter.md index a82aedbeed..cd8197a71b 100644 --- a/src/Plugins/OrientationAnalysis/docs/ConvertHexGridToSquareGridFilter.md +++ b/src/Plugins/OrientationAnalysis/docs/ConvertHexGridToSquareGridFilter.md @@ -14,6 +14,24 @@ The use of this **Filter** is similar to the use of the {ref}`Import Orientation ![Images/ConvertHexGridToSquareGridFilter_1.png](Images/ConvertHexGridToSquareGridFilter_1.png) +## Example Output (Correct Spacing) + +This image shows a reasonable conversion where the X and Y Spacing are close to the original hex grid spacing. + +![Images/ConvertHexGridToSquareGrid_1.png](Images/ConvertHexGridToSquareGrid_1.png) + +## Example Output (Coarse Spacing) + +This image shows where the spacing is set a bit too large resulting in a more coarse sampling of the original hex grid data + +![Images/ConvertHexGridToSquareGrid_2.png](Images/ConvertHexGridToSquareGrid_2.png) + +## Example Output (Fine Spacing) + +This image shows where the spacing is set much too fine resulting in over sampling of the hex grid and a markedly larger file. + +![Images/ConvertHexGridToSquareGrid_3.png](Images/ConvertHexGridToSquareGrid_3.png) + % Auto generated parameter table will be inserted here ## Example Pipelines diff --git a/src/Plugins/OrientationAnalysis/docs/Images/ConvertHexGridToSquareGrid_1.png b/src/Plugins/OrientationAnalysis/docs/Images/ConvertHexGridToSquareGrid_1.png new file mode 100644 index 0000000000..cd834a07a4 Binary files /dev/null and b/src/Plugins/OrientationAnalysis/docs/Images/ConvertHexGridToSquareGrid_1.png differ diff --git a/src/Plugins/OrientationAnalysis/docs/Images/ConvertHexGridToSquareGrid_2.png b/src/Plugins/OrientationAnalysis/docs/Images/ConvertHexGridToSquareGrid_2.png new file mode 100644 index 0000000000..0fb481f73b Binary files /dev/null and b/src/Plugins/OrientationAnalysis/docs/Images/ConvertHexGridToSquareGrid_2.png differ diff --git a/src/Plugins/OrientationAnalysis/docs/Images/ConvertHexGridToSquareGrid_3.png b/src/Plugins/OrientationAnalysis/docs/Images/ConvertHexGridToSquareGrid_3.png new file mode 100644 index 0000000000..026e346eb8 Binary files /dev/null and b/src/Plugins/OrientationAnalysis/docs/Images/ConvertHexGridToSquareGrid_3.png differ diff --git a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/ReadCSVFileFilter.cpp b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/ReadCSVFileFilter.cpp index 76964bb12a..58b74b8127 100644 --- a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/ReadCSVFileFilter.cpp +++ b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/ReadCSVFileFilter.cpp @@ -216,7 +216,7 @@ Result<> parseLine(std::fstream& inStream, const ParsersVector& dataParsers, con { std::string line; std::getline(inStream, line); - + line = StringUtilities::replace(line, "\r", ""); StringVector tokens = StringUtilities::split(line, delimiters, consecutiveDelimiters); if(tokens.empty()) {