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

Add stress argument to struc, serialization #276

Merged
merged 2 commits into from
Feb 18, 2021

Conversation

stevetorr
Copy link
Contributor

@stevetorr stevetorr commented Feb 17, 2021

Summary

Stress is now included as an argument to the Structure object, so structures can be instantiated with the stress property.
Unit tests have been updated so that serialization / deserialization into JSON includes checking for this field.

  • Code is in the standard Python style.
    Run Black on your local machine.
  • Docstrings have been added in the Sphinx docstring format.
  • Type annotations are highly encouraged.
  • Tests have been added for any new functionality or bug fixes.
  • All existing tests pass.

Note that the CI system will run all the above checks. But it will be much more
efficient if you already fix most errors prior to submitting the PR.

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