Skip to content

Commit 08d1f8f

Browse files
committed
Record a little TODO
1 parent 94a7286 commit 08d1f8f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

flatgfa/src/ops/pangenotype.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ use crate::memfile;
33
use crate::namemap::NameMap;
44
use memchr::memchr;
55

6+
// TODO: This function currently combines a "specialized" GAF text parser with
7+
// the matrix construction. It would be nice to disentangle these as much as
8+
// possible, even if we can't reuse the more general GAF parser logic in
9+
// `gaf.rs`.
10+
611
pub fn make_pangenotype_matrix(gfa: &FlatGFA, gaf_files: Vec<String>) -> Vec<Vec<bool>> {
712
let num_segments = gfa.segs.len();
813
let mut matrix = vec![vec![false; num_segments]; gaf_files.len()];

0 commit comments

Comments
 (0)