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

NPI-3669 Migrate SP3 transform and trim, introduce minimal SP3 creation utility script #63

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

treefern
Copy link
Collaborator

@treefern treefern commented Dec 23, 2024

Also adds an additional SP3 trimming option, on top of what existed in the original version.
The new utility script is primarily intended for making minimal SP3 files for unit tests.

Speaking of unit tests:

  • filter_by_svs(): test now done
  • transform_sp3(): not practical to unit test. It's a wrapper for file read (including parse) / transform / write (including generate), so we should test the parse, generate and various transforming functions in isolation.

…r codebase), add more trimming options, introduce utility script for making minimal SP3 files, primarily intended for unit tests
@treefern treefern requested a review from ronaldmaj December 23, 2024 06:21
@treefern treefern self-assigned this Dec 23, 2024
@treefern
Copy link
Collaborator Author

treefern commented Dec 23, 2024

It turns out the approach taken to store the SV counts in the header, isn't currently compatible with the way we merge header attributes when combining DataFrames. This needs working through.
Update: this has been resolved.

@treefern
Copy link
Collaborator Author

After this PR is merged, we should make another dev release (probably 57.dev4), and update the downstream codebase in turn.

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.

1 participant