From 8f7ba0a8e5ace42aee4bfb61d21a56595f2b75f0 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 b1a89f671b..bfdc711f8e 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; }