Skip to content

Commit fe5c1b7

Browse files
committed
Add warning: openPMD 2.0 still under development
1 parent c2f6e30 commit fe5c1b7

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
@@ -139,6 +139,11 @@ std::string Series::openPMD() const
139139

140140
Series &Series::setOpenPMD(std::string const &o)
141141
{
142+
if (o >= "2.0")
143+
{
144+
std::cerr << "[Warning] openPMD 2.0 is still under development."
145+
<< std::endl;
146+
}
142147
setAttribute("openPMD", o);
143148
return *this;
144149
}

0 commit comments

Comments
 (0)