Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BF: AttributeMap -- consider only int (+unsigned) and float to be numeric labels #605

Merged
merged 2 commits into from Mar 23, 2019

Conversation

yarikoptic
Copy link
Member

This generalizes the logic and thus unicode labels would also be mapped,
as well as any other odd type. Use unicode labels for normal_feature_dataset

Closes #604

…eric labels

This generalizes the logic and thus unicode labels would also be mapped,
as well as any other odd type.  Use unicode labels for normal_feature_dataset
@coveralls
Copy link

coveralls commented Mar 22, 2019

Coverage Status

Coverage decreased (-0.003%) to 80.274% when pulling 5b833ba on yarikoptic:bf-unicode-labels into aa18b0e on PyMVPA:master.

Such scalars as np.unicode_ (or float128 until h5py 2.9.0) do not have
direct representation in hdf5 and require special handling.
@codecov-io
Copy link

codecov-io commented Mar 23, 2019

Codecov Report

Merging #605 into master will increase coverage by <.01%.
The diff coverage is 94.44%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #605      +/-   ##
==========================================
+ Coverage   75.77%   75.77%   +<.01%     
==========================================
  Files         366      366              
  Lines       41914    41923       +9     
  Branches     6750     6753       +3     
==========================================
+ Hits        31759    31766       +7     
- Misses       8270     8273       +3     
+ Partials     1885     1884       -1
Impacted Files Coverage Δ
mvpa2/tests/test_hdf5.py 87.67% <ø> (ø) ⬆️
mvpa2/misc/attrmap.py 86.91% <100%> (ø) ⬆️
mvpa2/misc/data_generators.py 70.04% <100%> (ø) ⬆️
mvpa2/base/hdf5.py 82.99% <93.75%> (+0.34%) ⬆️
mvpa2/testing/tools.py 78.15% <0%> (-1.46%) ⬇️
mvpa2/tests/test_usecases.py 98.92% <0%> (-0.36%) ⬇️
mvpa2/base/externals.py 75.35% <0%> (+0.56%) ⬆️

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 aa18b0e...5b833ba. Read the comment docs.

@yarikoptic
Copy link
Member Author

I think the world will be a better place for PyMVPA after this ;-)

@yarikoptic yarikoptic merged commit 861e860 into PyMVPA:master Mar 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants