exdir
exdir copied to clipboard
Convert data to arrays if possible when creating datasets
Converts data to a numpy array if data is not a ndarray or None. Among other things this enables lists to directly be used when creating a dataset, similar to h5py.
This also enables other objects to be converted to numpy object arrays. This is in line with the current support for and handling of object arrays, but see issue #47.
Codecov Report
Merging #48 into dev will increase coverage by
0.01%. The diff coverage is100%.
@@ Coverage Diff @@
## dev #48 +/- ##
=========================================
+ Coverage 97.58% 97.6% +0.01%
=========================================
Files 11 11
Lines 1369 1376 +7
=========================================
+ Hits 1336 1343 +7
Misses 33 33
| Impacted Files | Coverage Δ | |
|---|---|---|
| tests/test_dataset.py | 100% <100%> (ø) |
:arrow_up: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing dataPowered by Codecov. Last update edbdea9...eb479a5. Read the comment docs.