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

fix(SummaryStatistics): fix in sanity_filter #623

Merged
merged 6 commits into from
May 30, 2024
Merged

fix(SummaryStatistics): fix in sanity_filter #623

merged 6 commits into from
May 30, 2024

Conversation

addramir
Copy link
Contributor

✨ Context

This PR adds filtering by inf in summary statistics.

πŸ›  What does this PR implement

πŸ™ˆ Missing

🚦 Before submitting

  • Do these changes cover one single feature (one change at a time)?
  • Did you read the contributor guideline?
  • Did you make sure to update the documentation with your changes?
  • Did you make sure there is no commented out code in this PR?
  • Did you follow conventional commits standards in PR title and commit messages?
  • Did you make sure the branch is up-to-date with the dev branch?
  • Did you write any new necessary tests?
  • Did you make sure the changes pass local tests (make test)?
  • Did you make sure the changes pass pre-commit rules (e.g poetry run pre-commit run --all-files)?

@github-actions github-actions bot added bug Something isn't working size-S Dataset labels May 28, 2024
@addramir
Copy link
Contributor Author

@project-defiant could you please have a look on it? for some reason, it dosen't work in my hands and fails "make test"

@github-actions github-actions bot added size-M and removed size-S labels May 29, 2024
@project-defiant project-defiant marked this pull request as ready for review May 29, 2024 14:36
@project-defiant
Copy link
Contributor

@addramir it should be ready to run

@addramir
Copy link
Contributor Author

@project-defiant I made small changes in sanity filter function and test. Please have a look. If you agree - you can approve it.

None,
0.4671,
),
]
input_df = spark.createDataFrame(data=data, schema=SummaryStatistics.get_schema())
input_df.printSchema()
Copy link
Contributor

Choose a reason for hiding this comment

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

I missed this one, good catch

@project-defiant
Copy link
Contributor

@addramir all good for merge

@addramir addramir merged commit b60a19f into dev May 30, 2024
4 checks passed
@addramir addramir deleted the yt_gqs_qc_v1 branch May 30, 2024 10:53
project-defiant added a commit that referenced this pull request Jun 14, 2024
* fix(SummaryStatistics): fix in sanity_filter

* fix: adding prune of inf values

* fix(dataset): removal of inf values from beta and stderr

* fix: fix in test and sanity filter

---------

Co-authored-by: Szymon Szyszkowski <ss60@mib117351s.internal.sanger.ac.uk>
Co-authored-by: Szymon Szyszkowski <69353402+project-defiant@users.noreply.github.com>
project-defiant pushed a commit that referenced this pull request Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Dataset size-M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants