|
|
@@ -4,7 +4,7 @@ use std::{ops::Range};
|
|
|
pub enum Nucleotid {A, C, G, T}
|
|
|
|
|
|
#[derive(Debug, Clone, PartialEq)]
|
|
|
-pub struct DNAString(Vec<Nucleotid>);
|
|
|
+pub struct DNAString(pub Vec<Nucleotid>);
|
|
|
|
|
|
impl DNAString {
|
|
|
pub fn new(input: Vec<u8>) -> DNAString { // replace by new from vec u8 or from string
|