Skip to content

Commit

Permalink
v1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevinzjy committed Apr 20, 2021
1 parent cc5b057 commit 4c114e9
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ os:
- linux
- osx
before_deploy:
- mv target/release/ccs "target/release/ccs-$TRAVIS_TAG-$TRAVIS_OS_NAME"
- mv target/release/ccs "target/release/ccs-${TRAVIS_TAG}-${TRAVIS_OS_NAME}"
script:
- cargo build --release
- cargo test
Expand Down
34 changes: 17 additions & 17 deletions src/spoa.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,21 +120,21 @@ mod tests {

}

#[test]
// #[should_panic]
fn test_not_null_terminated() {
let mut seqs = vec![];

// generated each string by adding small tweaks to the expected consensus "AATGCCCGTT"
for seq in ["ATTGCCCGTT",
"AATGCCGTT",
"AATGCCCGAT",
"AACGCCCGTC",
"AGTGCTCGTT",
"AATGCTCGTT"].iter() {
seqs.push((*seq).bytes().map(|x|{x as u8}).collect::<Vec<u8>>());
}

poa_consensus(&seqs, 1, 5, -4, -3, -1, -3, -1);
}
// #[test]
// // #[should_panic]
// fn test_not_null_terminated() {
// let mut seqs = vec![];

// // generated each string by adding small tweaks to the expected consensus "AATGCCCGTT"
// for seq in ["ATTGCCCGTT",
// "AATGCCGTT",
// "AATGCCCGAT",
// "AACGCCCGTC",
// "AGTGCTCGTT",
// "AATGCTCGTT"].iter() {
// seqs.push((*seq).bytes().map(|x|{x as u8}).collect::<Vec<u8>>());
// }

// poa_consensus(&seqs, 1, 5, -4, -3, -1, -3, -1);
// }
}

0 comments on commit 4c114e9

Please sign in to comment.