brisvag / blik

Python tool for visualising and interacting with cryo-ET and subtomogram averaging data.
https://brisvag.github.io/blik/
GNU General Public License v3.0
23 stars 8 forks source link

removed xarray #107

Closed brisvag closed 3 years ago

brisvag commented 3 years ago

After some time using xarray, it seems that it's more troubl;e than it's worth. This PR gets rid of it and rolls back to numpy. One of the issues that this lets us solve is handling 2d and 3d data without going nuts (before this, 2D images were broken).

codecov[bot] commented 3 years ago

Codecov Report

Merging #107 (c6ad68e) into develop (1c1c152) will decrease coverage by 0.19%. The diff coverage is 88.23%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #107      +/-   ##
===========================================
- Coverage    84.07%   83.88%   -0.20%     
===========================================
  Files           92       92              
  Lines         2110     2103       -7     
===========================================
- Hits          1774     1764      -10     
- Misses         336      339       +3     
Impacted Files Coverage Δ
...locks/simpleblocks/_tests/test_orientationblock.py 100.00% <ø> (ø)
peepingtom/depictors/napari/meshdepictor.py 75.00% <0.00%> (ø)
peepingtom/io_/reading/star.py 89.06% <ø> (ø)
...eepingtom/datablocks/abstractblocks/simpleblock.py 74.54% <66.66%> (-0.46%) :arrow_down:
peepingtom/datablocks/multiblocks/dipoleblock.py 85.29% <66.66%> (-2.21%) :arrow_down:
peepingtom/datablocks/multiblocks/meshblock.py 93.75% <66.66%> (-6.25%) :arrow_down:
...ingtom/datablocks/simpleblocks/orientationblock.py 73.91% <66.66%> (-9.88%) :arrow_down:
...epingtom/datablocks/abstractblocks/spatialblock.py 85.71% <77.77%> (-10.96%) :arrow_down:
peepingtom/io_/reading/em.py 92.30% <87.50%> (-7.70%) :arrow_down:
...ngtom/datablocks/multiblocks/orientedpointblock.py 81.81% <100.00%> (+4.04%) :arrow_up:
... and 9 more

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 b7a08ad...c6ad68e. Read the comment docs.