-
Notifications
You must be signed in to change notification settings - Fork 7
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
LP Fix #138
Conversation
Added a catch if no significant patterns are found in lp
Changed lp tests to use the sample MERFISH data so significant patterns are found. Added a test to catch no significant patterns on the small dataset.
Fixes #136 |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #138 +/- ##
==========================================
+ Coverage 62.88% 66.24% +3.36%
==========================================
Files 40 40
Lines 2258 2314 +56
==========================================
+ Hits 1420 1533 +113
+ Misses 838 781 -57 ☔ 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.
Tests are good, just use warnings instead of raising error.
Added a warning to indicate that no significant patterns were found when running lp()
Moved the detection of no significant patterns found to the top of the function
added a description of when this test happens (when there are no significant patterns found)
For lp_diff_discrete, change errors to warning and immediate returns for when no significant patterns are found and when phenotype dtype is numeric.
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.
fix tests, otherwise lgtm
pinned dask version to >=2024.2.1
use new spatialdata multitable api, addresses #140 |
Created a catch for no significant patterns found for lp_diff_discrete. Updated lp tests to use the sample MERFISH dataset and added a test to catch no significant patterns in the small_data dataset.