Compare commits

...
3 Commits
Author SHA1 Message Date
Eric Coissac fceb523f1a chore: disable default features for obikindex
Release / create-release (push) Successful in 2m28s
ci.yml / build (pull_request) Successful in 4m41s
Release / build-linux-x86_64 (push) Successful in 8m23s
Release / build-macos-arm64 (push) Failing after 2m4s
Explicitly sets `default-features = false` for the `obikindex` dependency to ensure no default features are activated during dependency resolution and compilation.
2026-08-17 12:33:59 +02:00
Eric Coissac 700eaeaed2 test: simplify k-mer test setup for updated canonical API
Adapts sibling k-mer tests to the updated canonical API by replacing string-based construction with direct byte conversion. Removes intermediate reverse complement steps and introduces a helper function to compute reverse complement strings directly from canonical k-mers, preserving existing test output while streamlining setup.
2026-08-17 12:32:44 +02:00
coissac f1f7940277 Merge pull request 'Push zpwxxpnpktps' (#67) from push-zpwxxpnpktps into main
Reviewed-on: #67
2026-08-17 09:41:41 +00:00
3 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "obikmer" name = "obikmer"
version = "1.2.0" version = "1.2.1"
edition = "2024" edition = "2024"
[[bin]] [[bin]]
+1 -1
View File
@@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2024" edition = "2024"
[dependencies] [dependencies]
obikindex = { path = "../obikindex" } obikindex = { path = "../obikindex", default-features = false }
obikseq = { path = "../obikseq" } obikseq = { path = "../obikseq" }
obikpartitionner = { path = "../obikpartitionner" } obikpartitionner = { path = "../obikpartitionner" }
obiskio = { path = "../obiskio" } obiskio = { path = "../obiskio" }
+2 -3
View File
@@ -1108,9 +1108,8 @@ fn diag_real_index_verify_kmer_resolution() {
// The k-mer with A+other (mask 0b0011 = A+C) // The k-mer with A+other (mask 0b0011 = A+C)
let kmer_str = "AGCTAGCTATTGAGCCTGGTCCGTATGAAAC"; let kmer_str = "AGCTAGCTATTGAGCCTGGTCCGTATGAAAC";
let kmer = CanonicalKmer::from_str(kmer_str, k).unwrap(); let kmer = canonical(kmer_str.as_bytes());
let rc = kmer.revcomp(); let rc_str = kmer_revcomp_to_string(&kmer, k);
let rc_str = kmer_to_string(&rc, k);
println!("kmer_forward={} kmer_revcomp={}", kmer_str, rc_str); println!("kmer_forward={} kmer_revcomp={}", kmer_str, rc_str);
println!("kmer partition={}", kmer.partition(n_parts)); println!("kmer partition={}", kmer.partition(n_parts));