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

Running single table report on multi table data (or vice versa) results in confusing error #522

Merged

Conversation

R-Palazzo
Copy link
Contributor

CU-86ayp62w5
Resolve #510

@R-Palazzo R-Palazzo requested a review from a team as a code owner November 16, 2023 15:19
@R-Palazzo R-Palazzo removed the request for review from a team November 16, 2023 15:19

error_message = (
f'Multi table report {self.__class__.__name__} expects real and synthetic data to be'
' dictionnaries of pandas.DataFrame. If your real and synthetic data are pd.DataFrame,'
Copy link
Contributor

Choose a reason for hiding this comment

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

typo: dictionnaries -> dictionaries

@codecov-commenter
Copy link

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (05f2dee) 78.38% compared to head (896773e) 78.39%.

Files Patch % Lines
...ics/reports/multi_table/base_multi_table_report.py 63.63% 4 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@                     Coverage Diff                     @@
##           issue-507-validate-private     #522   +/-   ##
===========================================================
  Coverage                       78.38%   78.39%           
===========================================================
  Files                             102      102           
  Lines                            3697     3716   +19     
===========================================================
+ Hits                             2898     2913   +15     
- Misses                            799      803    +4     

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

Base automatically changed from issue-507-validate-private to diagnostic_report_updates November 17, 2023 15:54
@R-Palazzo R-Palazzo force-pushed the issue-510-single-multi-report-error branch from 896773e to 4caa4a0 Compare November 17, 2023 16:45
Copy link
Contributor

@amontanez24 amontanez24 left a comment

Choose a reason for hiding this comment

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

LGTM!

@R-Palazzo R-Palazzo merged commit bf5ccd2 into diagnostic_report_updates Nov 17, 2023
45 checks passed
@R-Palazzo R-Palazzo deleted the issue-510-single-multi-report-error branch November 17, 2023 18:01
R-Palazzo added a commit that referenced this pull request Nov 27, 2023
R-Palazzo added a commit that referenced this pull request Nov 27, 2023
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.

5 participants