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

[BUG] fix html display for meta-objects #160

Merged
merged 1 commit into from
Apr 26, 2023
Merged

Conversation

fkiraly
Copy link
Contributor

@fkiraly fkiraly commented Apr 26, 2023

This fixes a bug with the html display for meta-objects, where any attempt to display an skbase meta-object would crash.

The reason was an import of VisualBlock from sklearn rather than skbase, which had an estimator parameter rather than the obj parameter which was expected.

We'll have to investigate why this was not tested.

@fkiraly fkiraly added the bug Something isn't working label Apr 26, 2023
@codecov-commenter
Copy link

Codecov Report

Merging #160 (f6b582f) into main (3efdea3) will decrease coverage by 0.07%.
The diff coverage is 42.85%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##             main     #160      +/-   ##
==========================================
- Coverage   82.92%   82.85%   -0.07%     
==========================================
  Files          39       39              
  Lines        2799     2800       +1     
==========================================
- Hits         2321     2320       -1     
- Misses        478      480       +2     
Impacted Files Coverage Δ
skbase/base/_meta.py 18.22% <20.00%> (-0.09%) ⬇️
skbase/base/_pretty_printing/_object_html_repr.py 66.66% <100.00%> (-1.24%) ⬇️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants