-
Notifications
You must be signed in to change notification settings - Fork 2
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
Update QC report to 0.13.0 #124
Conversation
d289e0b
to
b3637ef
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev #124 +/- ##
==========================================
+ Coverage 81.37% 81.48% +0.11%
==========================================
Files 114 115 +1
Lines 6302 6353 +51
==========================================
+ Hits 5128 5177 +49
- Misses 1174 1176 +2 ☔ 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.
We should have a discussion about the simplification
package. But we can take that offline. Other than that everything looks good to me.
@@ -54,13 +54,13 @@ tasks: | |||
desc: |- | |||
Run tests using pytest with the default flags defined in pyproject.toml. | |||
cmds: | |||
- pytest tests | |||
- pytest tests {{ .CLI_ARGS }} |
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.
I didn't know you could to this. But it seems super useful.
pyproject.toml
Outdated
@@ -54,6 +54,7 @@ fsspec = "^2023.12.2" | |||
fastparquet = "^2023.8.0" | |||
graspologic = "^3.3.0" | |||
plotly = "*" | |||
simplification = "^0.7.10" |
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.
I can't see this package in conda-forge/bioconda - so I think we should think twice before brining it in.
I have removed the dependency and brought in a numpy based version adapted from https://github.com/fhirschmann/rdp |
I have also tested this on some production runs and it is definitely fast enough for our use case right now. |
@@ -0,0 +1,119 @@ | |||
"""Implementation of the Ramer–Douglas–Peucker line simplification algorithm. | |||
|
|||
Based on https://github.com/fhirschmann/rdp. |
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.
I think we need to bring in the complete original copyright statement here.
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.
Done.
Co-authored-by: Johan Dahlberg <johan.dahlberg@pixelgen.tech>
Description
Fixes: EXE-1623, EXE-1625