Skip to content

Commit

Permalink
Python: JSON Variant
Browse files Browse the repository at this point in the history
Add support for querying if the JSON backend is compiled.
  • Loading branch information
ax3l committed Nov 2, 2018
1 parent 8a953e7 commit ec8836a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/binding/python/openPMD.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ PYBIND11_MODULE(openpmd_api, m) {
// feature variants
m.attr("variants") = std::map<std::string, bool>{
{"mpi", bool(openPMD_HAVE_MPI)},
{"json", bool(openPMD_HAVE_JSON)},
{"hdf5", bool(openPMD_HAVE_HDF5)},
{"adios1", bool(openPMD_HAVE_ADIOS1)},
{"adios2", bool(openPMD_HAVE_ADIOS2)}
Expand Down

0 comments on commit ec8836a

Please sign in to comment.