Skip to content

Commit

Permalink
Add warning: openPMD 2.0 still under development
Browse files Browse the repository at this point in the history
  • Loading branch information
franzpoeschel committed Jul 11, 2024
1 parent 45b2fbb commit 12595af
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Series.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 12595af

Please sign in to comment.