From fe5c1b755270b63c462f8d15eb44dbc2e532c5ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franz=20P=C3=B6schel?= Date: Fri, 24 May 2024 16:49:31 +0200 Subject: [PATCH] Add warning: openPMD 2.0 still under development --- src/Series.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Series.cpp b/src/Series.cpp index fbbb8bf1bf..a3749c5e73 100644 --- a/src/Series.cpp +++ b/src/Series.cpp @@ -139,6 +139,11 @@ std::string Series::openPMD() const Series &Series::setOpenPMD(std::string const &o) { + if (o >= "2.0") + { + std::cerr << "[Warning] openPMD 2.0 is still under development." + << std::endl; + } setAttribute("openPMD", o); return *this; }