@@ -2011,14 +2011,21 @@ namespace BasisClasses
20112011 file.createAttribute <std::string>(" DiskType" ,
20122012 HighFive::DataSpace::From (dtype)).write (dtype);
20132013
2014+ std::cout << " ---- Cylindrical: writing DiskType <" << dtype
2015+ << " > to cache file <" << cachename << " >" << std::endl;
2016+
20142017 // Write the md5sum for the Python module
20152018 if (DTYPE == DiskType::python) {
20162019 try {
20172020 std::vector<std::string> pyinfo =
20182021 {pyname, QuickDigest5::fileToHash (pyname + " .py" )};
2019- file.createAttribute <std::vector<std::string>>
2020- (" pythonDiskType" ,
2021- HighFive::DataSpace::From (pyinfo)).write (pyinfo);
2022+
2023+ file.createAttribute (" pythonDiskType" , pyinfo);
2024+
2025+ std::cout << " ---- Cylindrical: writing pythonDiskType <" << pyname + " .py"
2026+ << " > to cache file <" << cachename << " >" << std::endl;
2027+
2028+
20222029 } catch (const std::runtime_error& e) {
20232030 if (myid==0 ) {
20242031 std::cerr << " Error: " << e.what () << std::endl;
@@ -2041,13 +2048,15 @@ namespace BasisClasses
20412048 try {
20422049 std::vector<std::string> pyinfo =
20432050 {pyproj, QuickDigest5::fileToHash (pyproj + " .py" )};
2044- file.createAttribute <std::vector<std::string>>
2045- (" pythonProjType" ,
2046- HighFive::DataSpace::From (pyinfo)).write (pyinfo);
2051+
2052+ file.createAttribute (" pythonProjType" , pyinfo);
2053+
2054+ std::cout << " ---- Cylindrical: writing pythonProjType <" << pyproj + " .py"
2055+ << " > to cache file <" << cachename << " >" << std::endl;
20472056 } catch (const std::runtime_error& e) {
20482057 if (myid==0 ) {
20492058 std::cerr << " Error: " << e.what () << std::endl;
2050- std::cerr << " Can not writine the md5 hash to HDF5" << std::endl;
2059+ std::cerr << " Can not write the md5 hash to HDF5" << std::endl;
20512060 }
20522061 }
20532062 }
0 commit comments