From 3a3d37b24a92a22266f2df87432d4b884c23c512 Mon Sep 17 00:00:00 2001 From: d3v-null Date: Wed, 14 Aug 2024 15:50:48 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=96=20=200.13.0=20-=20update=20Marlu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Cargo.lock | 6 +++--- Cargo.toml | 6 +++--- RELEASES.md | 9 +++++++++ src/io/mwaf.rs | 7 +++++-- 4 files changed, 20 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index bc40504..ab3f087 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -116,7 +116,7 @@ dependencies = [ [[package]] name = "birli" -version = "0.12.0" +version = "0.13.0" dependencies = [ "aoflagger_sys", "approx", @@ -1054,9 +1054,9 @@ checksum = "b06a4cde4c0f271a446782e3eff8de789548ce57dbc8eca9292c27f4a42004b4" [[package]] name = "marlu" -version = "0.12.0" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87329073badac25c4d8d4d2544cbfdf389fefba069062d44e6b29ba0912db318" +checksum = "6271f1b61a6dcfd248b1c3a2f8c49bd5b425abe2d2c970263a14390369eab6a6" dependencies = [ "approx", "built", diff --git a/Cargo.toml b/Cargo.toml index 16b79c1..80c0d82 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "birli" description = "A preprocessing pipeline for the Murchison Widefield Array" -version = "0.12.0" +version = "0.13.0" readme = "README.md" homepage = "https://github.com/MWATelescope/Birli" repository = "https://github.com/MWATelescope/Birli" @@ -43,7 +43,7 @@ indicatif = { version = "0.17.0", features = ["rayon"] } itertools = "0.10.0" lazy_static = "1.4.0" log = "0.4.0" -marlu = "0.12.0" +marlu = "0.13.0" regex = "1.4.0" thiserror = "1.0.0" @@ -64,7 +64,7 @@ csv = "1.1" float-cmp = "0.9" glob = "0.3" lexical = "6.0" -marlu = { version = "0.12.0", features = ["approx"] } +marlu = { version = "0.13.0", features = ["approx"] } ndarray = { version = "0.16.0", features = ["approx"] } tempfile = "3.3" diff --git a/RELEASES.md b/RELEASES.md index 1419d95..06b4aee 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,6 +1,12 @@ +# Version 0.13.0 (2024-08-14) + +- 🐛 fix issues compiling on arm64: + - update Marlu 0.13.0 + # Version 0.12.0 (2024-06-27) + - 🐛 bug fixes: - #152 default pfb gains should be cotter2014 for legacy correlator, not jake - 🙏 quality of life: @@ -9,11 +15,13 @@ - update default aoflagger version in makefile and dockerfile # Version 0.11.0 (2024-06-19) + - ➕ dependencies: - Marlu 0.11.0 - built ~0.7.3 # Version 0.10.0 (2023-08-11) + - 🙏 quality of life: - uvfits are now written out with a second DATE and INTTIM - ➕ dependencies: @@ -21,6 +29,7 @@ - use rust version 1.64 # Version 0.9.2 (2023-07-18) + - 🙏 quality of life: - update modtime when writing ms diff --git a/src/io/mwaf.rs b/src/io/mwaf.rs index 45e1562..73da26d 100644 --- a/src/io/mwaf.rs +++ b/src/io/mwaf.rs @@ -8,7 +8,10 @@ //! one column. Each cell in the table contains a binary vector of flags for each fine channel in //! the coarse channel. -use std::path::{Path, PathBuf}; +use std::{ + ffi::c_char, + path::{Path, PathBuf}, +}; use fitsio::{tables::ColumnDataType, tables::ColumnDescription, FitsFile}; use indicatif::{MultiProgress, ProgressBar, ProgressDrawTarget, ProgressStyle}; @@ -441,7 +444,7 @@ impl FlagFileSet { let mut status = 0; - let mut flag_cell = vec![0; flag_coarse_chan_view.len_of(Axis(1))]; + let mut flag_cell: Vec = vec![0; flag_coarse_chan_view.len_of(Axis(1))]; for flag_timestep_view in flag_coarse_chan_view.outer_iter() { for (flag_baseline_view, baseline_flag_count) in flag_timestep_view .axis_iter(Axis(1))