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

Make read (rdrecord, rdsamp) and write (wrsamp) functions isomorphic #500

Open
briangow opened this issue Aug 6, 2024 · 0 comments
Open

Comments

@briangow
Copy link
Collaborator

briangow commented Aug 6, 2024

As noted in #484 , rdsamp and wrsamp are not isomorphic. It is reasonable to expect that what gets read into memory should be sufficient and by default re-create the read file when passing that information to a write function.

We should provide a set of isomorphic read and write functions by doing at least one of these:

  1. Making rdsamp and wrsamp isomorphic. Currently they only handle a subset of the parameters in a record object though.
  2. Adding a write function which can use all of the information from rdrecord to re-create a read record.
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

No branches or pull requests

1 participant