NSLS-II / metadatastore

DEPRECATED: Incorporated into https://github.com/NSLS-II/databroker
Other
2 stars 11 forks source link

WIP: Listify numpy arrays #266

Closed ghost closed 7 years ago

ghost commented 7 years ago

Not ready for merge.

In accordance with https://github.com/NSLS-II/bluesky/pull/674

TODO:

codecov-io commented 7 years ago

Codecov Report

Merging #266 into master will decrease coverage by 0.17%. The diff coverage is 83.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #266      +/-   ##
==========================================
- Coverage   90.35%   90.18%   -0.18%     
==========================================
  Files           4        4              
  Lines         477      489      +12     
  Branches       75       80       +5     
==========================================
+ Hits          431      441      +10     
- Misses         31       33       +2     
  Partials       15       15
Impacted Files Coverage Δ
metadatastore/core.py 93.3% <ø> (ø) :arrow_up:
metadatastore/mds.py 85.95% <83.33%> (-0.19%) :arrow_down:

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 ab46a64...d0e2817. Read the comment docs.

tacaswell commented 7 years ago

https://github.com/NSLS-II/bluesky/blob/b92e1a42f188fd7efa982c3ac1c8a064c1879a50/bluesky/utils.py#L837 is how we are currently doing this. This has the advantage of not copying lists.