Open bhayat-quantinuum opened 8 months ago
Here is a MWE of my code:
#include <iostream> #include <fstream> #include <boost/graph/graphml.hpp> #include <boost/property_map/dynamic_property_map.hpp> int main(int, char**){ std::ifstream graph_file; graph_file.open("more_exampleHoles_8.txt", std::ifstream::in); Graph g; boost::dynamic_properties dp; boost::read_graphml(graph_file, g, dp); }
The file more_exampleHoles_8.txt is attached below. I receive the following error:
more_exampleHoles_8.txt
terminate called after throwing an instance of 'boost::wrapexcept<boost::property_not_found>' what(): Property not found: betti. Aborted (core dumped)
I think this is a bug? If not, any help appreciated.
Do you have something else that reads GraphML to compare against? I mean, how did you verify that it's well formed?
Here is a MWE of my code:
The file
more_exampleHoles_8.txt
is attached below. I receive the following error:I think this is a bug? If not, any help appreciated.
more_exampleHoles_8.txt