From 3916e24ef9cc4e79334222931aceefa2d259d072 Mon Sep 17 00:00:00 2001 From: Matthias Puchner <github@mpuchner.de> Date: Mon, 29 Mar 2021 14:15:30 +0200 Subject: [PATCH] format --- Device/Histo/IntensityDataIOFactory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Device/Histo/IntensityDataIOFactory.cpp b/Device/Histo/IntensityDataIOFactory.cpp index 055f1436376..9fa48e0456f 100644 --- a/Device/Histo/IntensityDataIOFactory.cpp +++ b/Device/Histo/IntensityDataIOFactory.cpp @@ -58,10 +58,10 @@ OutputData<double>* IntensityDataIOFactory::readOutputData(const std::string& fi return readOutputData( file_name, [](std::istream& s) { return OutputDataReadWriteTiff().readOutputData(s); }); #endif + // Try to read ASCII by default. Binary maps to ASCII. // If the file is not actually a matrix of numbers, // the error will be thrown during the reading. - return readOutputData( file_name, [](std::istream& s) { return OutputDataReadWriteNumpyTXT().readOutputData(s); }); } -- GitLab