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

separate data validation and serialization in serialize.py #27

Open
Tracked by #143
sbillinge opened this issue Aug 12, 2023 · 0 comments
Open
Tracked by #143

separate data validation and serialization in serialize.py #27

sbillinge opened this issue Aug 12, 2023 · 0 comments
Milestone

Comments

@sbillinge
Copy link
Contributor

the serialize and deserialize functions contain extensive code for validating that the data is of the right form. This functionaliity would useful as a separate function in a module called diffpy.utils.validators.py where I could easily check that all my multi-dimensional data is the right shape and so on, regardless of whether I got it from loadData or not.

This issue is to pull the validation code out of serialize into validate functions that are available separaterly and then change the serialize code so it calls the validate functions to give the same functionality.

@sbillinge sbillinge added this to the 3.5.1 release milestone Nov 15, 2024
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