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 Jun 7, 2024
1 parent 7a84e54 commit 8f7ba0a
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 8f7ba0a

Please sign in to comment.