Skip to content
Snippets Groups Projects
Commit 3916e24e authored by Matthias Puchner's avatar Matthias Puchner
Browse files

format

parent 249aea94
No related branches found
No related tags found
1 merge request!18Feature read nicos and crash fix
Pipeline #34200 passed
......@@ -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); });
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment