Skip to content

Commit 74b90f6

Browse files
committed
Add warning: openPMD 2.0 still under development
1 parent deee96e commit 74b90f6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Series.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,11 @@ std::string Series::openPMD() const
133133

134134
Series &Series::setOpenPMD(std::string const &o)
135135
{
136+
if (o >= "2.0")
137+
{
138+
std::cerr << "[Warning] openPMD 2.0 is still under development."
139+
<< std::endl;
140+
}
136141
setAttribute("openPMD", o);
137142
return *this;
138143
}

0 commit comments

Comments
 (0)