allow initial comments in dat-files.
Build and Deploy Documentation / build-and-deploy (push) Successful in 31s

This commit is contained in:
2026-08-22 09:52:24 +02:00
parent 2088bd1516
commit 08559fdb59
2 changed files with 10 additions and 0 deletions
+5
View File
@@ -594,7 +594,12 @@ PmuppCollection PParamDataHandler::ReadColumnParamFile(const QString fln, bool &
run.SetName(fln);
// read header information
// step over initial comments
line = in.readLine();
while (line.isEmpty() || line.startsWith("%") || line.startsWith("#"))
line = in.readLine();
// handle header
#if (QT_VERSION < QT_VERSION_CHECK(5, 14, 0))
token = line.split(QRegExp("\\s+"), QString::SkipEmptyParts);
#else
+5
View File
@@ -702,7 +702,12 @@ PmuppCollection PParamDataHandler::ReadColumnParamFile(const QString fln, bool &
run.SetName(fln);
// read header information
// step over initial comments
line = in.readLine();
while (line.isEmpty() || line.startsWith("%") || line.startsWith("#"))
line = in.readLine();
// handle header
token = line.split(QRegularExpression("\\s+"), Qt::SkipEmptyParts);
QVector<QString> headerInfo;