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

filter: Expose internal Pandas errors from --query #1267

Merged
merged 2 commits into from
Jul 28, 2023

Conversation

victorlin
Copy link
Member

@victorlin victorlin commented Jul 27, 2023

Description of proposed changes

Previously, all Pandas error messages were hidden from the user because they were assumed to be cryptic. Turns out, some error messages may be useful - see the functional test change.

Related issue(s)

Prompted by in-lab discussion with a user.

Testing

What steps should be taken to test the changes you've proposed?
If you added or changed behavior in the codebase, did you update the tests, or do you need help with this?

  • Cram test updated
  • Checks pass

Checklist

  • Add a message in CHANGES.md summarizing the changes in this PR that are end user focused. Keep headers and formatting consistent with the rest of the file.

@victorlin victorlin requested a review from a team July 27, 2023 23:37
@victorlin victorlin self-assigned this Jul 27, 2023
@codecov
Copy link

codecov bot commented Jul 27, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (f3dfd0e) 69.36% compared to head (d7ca649) 69.36%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1267   +/-   ##
=======================================
  Coverage   69.36%   69.36%           
=======================================
  Files          66       66           
  Lines        7024     7024           
  Branches     1708     1708           
=======================================
  Hits         4872     4872           
  Misses       1847     1847           
  Partials      305      305           
Files Changed Coverage Δ
augur/filter/include_exclude_rules.py 97.74% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Previously, all Pandas error messages were hidden from the user because
they were assumed to be cryptic. Turns out, some error messages may be
useful - see the functional test change.
@victorlin victorlin force-pushed the victorlin/filter-query-errors branch from c66edf0 to d7ca649 Compare July 28, 2023 00:41
Copy link
Contributor

@huddlej huddlej left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great! Thank you for the quick fix, @victorlin. Should we make a new patch release once this is merged?

@victorlin
Copy link
Member Author

@huddlej yes! I plan to do a release today.

@victorlin victorlin merged commit 4f5559a into master Jul 28, 2023
26 checks passed
@victorlin victorlin deleted the victorlin/filter-query-errors branch July 28, 2023 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

2 participants