-
Notifications
You must be signed in to change notification settings - Fork 117
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
Very minor clean-up and improvements #136
Conversation
Hello Yoel!
The rest of the cleanup looks great! Thank you. Sincerely, |
Thanks for the quick and detailed reply! Great points and I am happy to undo those changes. Here are a couple of followup comments:
I do not completely follow your comment on force_phase. I hope you don't mind me asking for clarification.
Thank you! |
Hello Yoel, In general, I think the ability to force a thermodynamic model to be recognized in thermo as a gas, liquid, or solid - always - is something that is desirable. There are definitely a lot of places I've gone for speed over code reduction, and so far that's been OK. Other times where I went for speed and code reduction at the same time I've ran into trouble - for example issue #114 where it turns out doing string replacements on source code using the inspect module and exec to avoid duplication doesn't work for some workflows. Sincerely, |
I reversed the changes we talked about and changed the Thanks! |
This looks really great Yoel! Thank you. |
@CalebBell,
As I was going through the
phases
submodule, I found a couple of places where I could make some minor improvements:T
,P
,zs
propertiesCEOSPhase.force_phase
attribute (I could not find anywhere where it is used; it seems like theis_gas
andis_liquid
is used instead)Please let me know if there is any issue with any of these and I can undo them. These are all very minor, but I'll slowly get into the groove into contributing to this library again. For more significant contributions, I would also consult with you beforehand to make sure the direction is OK.
I have a couple of other places I would like to make moderate changes, but I'll post them as a separate issue in case you have any comments before I proceed with a pull request.
Thank you!