MWATelescope / mwalib

Library to read Murchison Widefield Array (MWA) raw visibilities, voltages and metadata into a common structure
Mozilla Public License 2.0
10 stars 2 forks source link

Remove unused muts #20

Closed d3v-null closed 3 years ago

d3v-null commented 3 years ago

There are several places where a mutable reference to a context is un-necessary:

removing these muts makes it easier to use context in parallel workflows, and all of the tests still pass.

codecov[bot] commented 3 years ago

Codecov Report

Merging #20 (886014f) into master (5bc52df) will not change coverage. The diff coverage is 100.00%.

:exclamation: Current head 886014f differs from pull request most recent head e95b59b. Consider uploading reports for the commit e95b59b to get more accurate results Impacted file tree graph

@@           Coverage Diff           @@
##           master      #20   +/-   ##
=======================================
  Coverage   95.81%   95.81%           
=======================================
  Files          21       21           
  Lines        3486     3486           
=======================================
  Hits         3340     3340           
  Misses        146      146           
Impacted Files Coverage Δ
src/correlator_context/mod.rs 98.76% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 5bc52df...e95b59b. Read the comment docs.