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

Removed dynamic typing mechanism in CompoundState to fix pickling. #284

Merged
merged 1 commit into from
Sep 11, 2017

Conversation

andrrizzi
Copy link
Contributor

Should be ready for review as soon as tests pass.

I had to convert the ThermodynamicState._standardize_system() method from class to instance method to make the change. All state classes are now tested for pickling.

I had to transform the _standardize_system() method to an instance method rather than a class method to make the change.
@pgrinaway
Copy link
Member

Hey, FYI It looks like this change fixed my problem--thanks!

@andrrizzi
Copy link
Contributor Author

Awesome, I'll merge this in then!

The only thing failing is codeclimate that is outrageously accusing me of duplicating code.

@andrrizzi andrrizzi merged commit 7125729 into master Sep 11, 2017
@andrrizzi andrrizzi deleted the fix-pickle-state branch September 11, 2017 15:41
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.

2 participants