-
Notifications
You must be signed in to change notification settings - Fork 75
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
fix: better error for list data fmt_nanoplot #356
fix: better error for list data fmt_nanoplot #356
Conversation
Hey, thanks for taking this up! It seems like the challenge in #331 might be:
I wonder if just validating that plot_type is in the list of plot_type options would be enough to resolve the issue? I'm happy to take it up, or if you want to take a swing at it, I'm happy to review! |
Hi @machow , thank you for the guidelines. I think it is clear for me now. I will change it and add a testcase for it |
Hi @machow, I have updated the code but CI Test seems to failed in main as well. It will be great that if you can let me know how to resolve. |
I can reproduce this on my system after upgrading Polars to version |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #356 +/- ##
=======================================
Coverage 85.90% 85.91%
=======================================
Files 41 41
Lines 4328 4330 +2
=======================================
+ Hits 3718 3720 +2
Misses 610 610 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great, thanks so much for submitting this PR! These kinds of warnings seem really important for avoiding surprising issues due to typos. This LGTM -- Rich do you want to merge?
Summary
add a type check for data column, so that only scalar value is passed.
will add a pytest but want to make sure this is expected.
Related GitHub Issues and PRs
Checklist