Skip to content

Commit

Permalink
release 0.12.0
Browse files Browse the repository at this point in the history
- replaces 0.11.1 which was semver incompatible
- linter fixes
  • Loading branch information
d3v-null committed Jun 27, 2024
1 parent b12d668 commit e4b25b9
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "birli"
description = "A preprocessing pipeline for the Murchison Widefield Array"
version = "0.11.1"
version = "0.12.0"
readme = "README.md"
homepage = "https://github.com/MWATelescope/Birli"
repository = "https://github.com/MWATelescope/Birli"
Expand Down
2 changes: 1 addition & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!-- markdownlint-disable=MD025 -->

# Version 0.11.1 (2024-06-27)
# Version 0.12.0 (2024-06-27)
- 🐛 bug fixes:
- #152 default pfb gains should be cotter2014 for legacy correlator, not jake
- 🙏 quality of life:
Expand Down
17 changes: 10 additions & 7 deletions src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ cfg_if! {

/// Args for preprocessing a correlator context.
pub struct BirliContext<'a> {
/// mwalib::CorrelatorContext
/// `mwalib::CorrelatorContext`
pub corr_ctx: CorrelatorContext,
/// Preprocessing parameters
pub prep_ctx: PreprocessContext<'a>,
Expand Down Expand Up @@ -1121,8 +1121,9 @@ impl<'a> BirliContext<'a> {
matches.value_of_t::<f64>("avg-time-res"),
) {
// filter any errors other than ArgumentNotFound
(Err(err), _) if err.kind() != ArgumentNotFound => return Err(err.into()),
(_, Err(err)) if err.kind() != ArgumentNotFound => return Err(err.into()),
(Err(err), _) | (_, Err(err)) if err.kind() != ArgumentNotFound => {
return Err(err.into())
}
(Ok(_), Ok(_)) => {
unreachable!("--avg-time-res conflicts with --avg-time-factor, enforced by clap")
}
Expand Down Expand Up @@ -1155,8 +1156,9 @@ impl<'a> BirliContext<'a> {
matches.value_of_t::<f64>("avg-freq-res"),
) {
// filter any errors other than ArgumentNotFound
(Err(err), _) if err.kind() != ArgumentNotFound => return Err(err.into()),
(_, Err(err)) if err.kind() != ArgumentNotFound => return Err(err.into()),
(Err(err), _) | (_, Err(err)) if err.kind() != ArgumentNotFound => {
return Err(err.into())
}
(Ok(_), Ok(_)) => {
unreachable!("--avg-freq-res conflicts with --avg-freq-factor, enforced by clap")
}
Expand Down Expand Up @@ -1202,8 +1204,9 @@ impl<'a> BirliContext<'a> {
matches.value_of_t::<f64>("max-memory"),
) {
// filter any errors other than ArgumentNotFound
(Err(err), _) if err.kind() != ArgumentNotFound => return Err(err.into()),
(_, Err(err)) if err.kind() != ArgumentNotFound => return Err(err.into()),
(Err(err), _) | (_, Err(err)) if err.kind() != ArgumentNotFound => {
return Err(err.into())
}
(Ok(_), Ok(_)) => {
unreachable!("--time-chunk conflicts with --max-memory, enforced by clap")
}
Expand Down
2 changes: 1 addition & 1 deletion src/preprocessing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ pub struct PreprocessContext<'a> {
#[builder(default = "true")]
pub correct_geometry: bool,

/// AOFlagger strategy path for flagging
/// `AOFlagger` strategy path for flagging
#[builder(default)]
#[cfg(feature = "aoflagger")]
pub aoflagger_strategy: Option<String>,
Expand Down

0 comments on commit e4b25b9

Please sign in to comment.