NeurodataWithoutBorders / matnwb

A Matlab interface for reading and writing NWB files
BSD 2-Clause "Simplified" License
50 stars 32 forks source link

shrink int to auto-map to int8 #523

Closed lawrence-mbf closed 1 year ago

lawrence-mbf commented 1 year ago

Fixes #486

Motivation

Allows auto-shrink to all integer types.

How to test the behavior?

tests should be successful when exported by MatNWB and read in by PyNWB.

Checklist

codecov[bot] commented 1 year ago

Codecov Report

Merging #523 (31529a5) into master (461c5c4) will not change coverage. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #523   +/-   ##
=======================================
  Coverage   87.89%   87.89%           
=======================================
  Files         129      129           
  Lines        5461     5461           
=======================================
  Hits         4800     4800           
  Misses        661      661           
Files Changed Coverage Δ
+file/mapType.m 94.28% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more