Skip to content

Commit fccb0c0

Browse files
committed
release v080
1 parent fd89c90 commit fccb0c0

5 files changed

Lines changed: 19 additions & 15 deletions

File tree

.gitlab-ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ irma-test:
3333
artifacts:
3434
paths:
3535
- target/doc
36+
expire_in: 12 hours
3637

3738
pages:
3839
stage: deploy

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ is roughly based on [Keep a Changelog], and this project tries to adheres to
55
[Semantic Versioning]. For IRMA vs IRMA-core compatibility, please see the
66
[version matrix](VERSION_MATRIX.md).
77

8-
## [0.8.0] - TBD
8+
## [0.8.0] - 2025-11-21
99

1010
### Added
1111

Cargo.lock

Lines changed: 10 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "irma-core"
3-
version = "0.8.0-dev"
3+
version = "0.8.0"
44
edition = "2024"
55
description = "A tool to aid virus sequencing and accelerating IRMA."
66
license = "Apache-2.0"
@@ -18,7 +18,7 @@ readme = "README.md"
1818

1919

2020
[dependencies]
21-
zoe = { git = "https://github.com/CDCgov/zoe.git", default-features = false, features = [
21+
zoe = { version="0.0.23", default-features = false, features = [
2222
"multiversion", "rand"
2323
] }
2424
clap = { version = "4", features = ["derive"] }

src/processes/standalone/sampler.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ use zoe::{
1717
data::records::HeaderReadable,
1818
iter_utils::{
1919
ProcessResultsExt,
20-
sampling::{DownsampleBernoulli, MethodDSampler, method_l},
20+
sampling::{DownsampleBernoulli, SkipSampler, downsample_reservoir},
2121
},
2222
};
2323

@@ -239,9 +239,11 @@ where
239239
.write_records(writer),
240240
SamplingTarget::Count(target) => {
241241
if let Some(total_items) = seq_count {
242-
MethodDSampler::new(iterator, target, total_items, &mut rng)?.write_records(writer)
242+
SkipSampler::new(iterator, target, total_items, &mut rng)?.write_records(writer)
243243
} else {
244-
method_l(iterator, &mut rng, target).into_iter().write_records(writer)
244+
downsample_reservoir(iterator, &mut rng, target)
245+
.into_iter()
246+
.write_records(writer)
245247
}
246248
}
247249
}

0 commit comments

Comments
 (0)