diff --git a/c++/app4triqs/app4triqs.cpp b/c++/app4triqs/app4triqs.cpp index 5d65b979..a16840c1 100644 --- a/c++/app4triqs/app4triqs.cpp +++ b/c++/app4triqs/app4triqs.cpp @@ -19,7 +19,7 @@ namespace app4triqs { void h5_write(h5::group grp, std::string subgroup_name, toto const &m) { grp = subgroup_name.empty() ? grp : grp.create_group(subgroup_name); h5_write(grp, "i", m.i); - h5_write_attribute(grp, "TRIQS_HDF5_data_scheme", toto::hdf5_format()); + h5_write_attribute(grp, "Format", toto::hdf5_format()); } void h5_read(h5::group grp, std::string subgroup_name, toto &m) { diff --git a/c++/app4triqs/app4triqs.hpp b/c++/app4triqs/app4triqs.hpp index e9764206..b92d513b 100644 --- a/c++/app4triqs/app4triqs.hpp +++ b/c++/app4triqs/app4triqs.hpp @@ -1,5 +1,6 @@ #pragma once #include +#include #include
namespace app4triqs { diff --git a/python/app4triqs/app4triqs_module_desc.py b/python/app4triqs/app4triqs_module_desc.py index eff521b9..161e72f7 100644 --- a/python/app4triqs/app4triqs_module_desc.py +++ b/python/app4triqs/app4triqs_module_desc.py @@ -1,5 +1,5 @@ # Generated automatically using the command : -# c++2py ../../c++/app4triqs/app4triqs.hpp -p --members_read_only -N app4triqs -a app4triqs -m app4triqs_module -o app4triqs_module --moduledoc="The app4triqs python module" -C pytriqs --cxxflags="-std=c++17" --target_file_only +# c++2py ../../c++/app4triqs/app4triqs.hpp -p --members_read_only -N app4triqs -a app4triqs -m app4triqs_module -o app4triqs_module --moduledoc="The app4triqs python module" -C triqs --cxxflags="-std=c++17" --target_file_only from cpp2py.wrap_generator import * # The module diff --git a/test/python/Basic.py b/test/python/Basic.py index 9ff46e2d..c0472fc5 100644 --- a/test/python/Basic.py +++ b/test/python/Basic.py @@ -3,7 +3,7 @@ import unittest from app4triqs import Toto, chain -from triqs.archive import * +from h5 import * from triqs.utility import mpi class test_toto(unittest.TestCase):