| 52 | /** Read a graph from the specified file. */ |
| 53 | template <typename Graph, typename BetterEP> |
| 54 | static void readGraph(const string& path, Graph& g, BetterEP betterEP) |
| 55 | { |
| 56 | if (opt::verbose > 0) |
| 57 | cout << "Reading `" << path << "'...\n"; |
| 58 | ifstream fin(path.c_str()); |
| 59 | istream& in = path == "-" ? cin : fin; |
| 60 | assert_good(in, path); |
| 61 | read_graph(in, g, betterEP); |
| 62 | assert(in.eof()); |
| 63 | printGraphStats(cout, g); |
| 64 | g_contigNames.lock(); |
| 65 | } |
| 66 | |
| 67 | /** Read a graph from the specified files. */ |
| 68 | template <typename Graph, typename It, typename BetterEP> |
no test coverage detected