Skip to content

Commit

Permalink
remove n
Browse files Browse the repository at this point in the history
  • Loading branch information
tibvdm committed Apr 23, 2024
1 parent 3453508 commit 53da6f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fa-compression/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pub fn main() {
let splitted_line = line.split("\t").collect::<Vec<&str>>();

writer.write_all(format!("{}\t{}\t{}\t", splitted_line[1], splitted_line[3], splitted_line[6]).as_bytes()).unwrap();
writer.write_all(encode(&splitted_line[7]).as_slice()).unwrap();
writer.write_all(encode(&splitted_line[7].replace("n", "")).as_slice()).unwrap();
writer.write_all(b"\n").unwrap();
}
}

0 comments on commit 53da6f9

Please sign in to comment.