This commit is contained in:
2024-10-07 12:33:03 +02:00
parent 69b35e6a38
commit 6209477a3f
7 changed files with 22 additions and 18 deletions
+3 -2
View File
@@ -21,8 +21,9 @@ use macroquad::prelude::*;
async fn main() {
let mut graph = Graph::<(String, Orientation), ()>::new();
let file = std::fs::File::open(env::args().nth(1).expect("missing gfa file argument")).unwrap();
let entries = parser::parse_source(file).unwrap();
let filename = env::args().nth(1).expect("missing gfa file argument");
let entries = parser::parse_file(filename).expect("failed to parse file");
let mut index_map = HashMap::new();