Skip to content
Snippets Groups Projects
Commit 39dc81ba authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

rm todo notes

parent 38904a3c
No related branches found
No related tags found
1 merge request!1628simplify and unify API and code for reading or writing data files
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
#include "Device/IO/DataFormatUtil.h" #include "Device/IO/DataFormatUtil.h"
#include <map> #include <map>
// TODO this works only if separator is space or tab; extend to comma (or semicolon)?
Datafield* ReadReflectometry::readDatafield(std::istream& inStream) Datafield* ReadReflectometry::readDatafield(std::istream& inStream)
{ {
std::string line; std::string line;
...@@ -32,7 +31,6 @@ Datafield* ReadReflectometry::readDatafield(std::istream& inStream) ...@@ -32,7 +31,6 @@ Datafield* ReadReflectometry::readDatafield(std::istream& inStream)
while (std::getline(inStream, line)) { while (std::getline(inStream, line)) {
line = BaseUtil::String::trim(line); line = BaseUtil::String::trim(line);
try { try {
// TODO this works only if separator is space or tab; extend to comma (or semicolon)?
std::vector<double> rowVec = DataUtil::Format::parse_doubles(line); std::vector<double> rowVec = DataUtil::Format::parse_doubles(line);
// take only non-negative Q values // take only non-negative Q values
......
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