-
Notifications
You must be signed in to change notification settings - Fork 871
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
Fix ion formula check in ion_or_solid_comp_object
of analysis.pourbaix_diagram
#4233
base: master
Are you sure you want to change the base?
Fix ion formula check in ion_or_solid_comp_object
of analysis.pourbaix_diagram
#4233
Conversation
eb5d78f
to
0320010
Compare
|
||
ELEMENTS_HO = {Element("H"), Element("O")} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is unlikely breaking, was a public var, but should be a class var 9551b5a
@@ -1075,22 +1131,3 @@ def domain_vertices(self, entry): | |||
list of vertices | |||
""" | |||
return self._pbx._stable_domain_vertices[entry] | |||
|
|||
|
|||
def generate_entry_label(entry): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be a helper function for PourbaixPlotter
(as per its docstring), also as far as I'm aware, there is no usage outside this class, so I might make it a private staticmethod instead b2d464b
ion_or_solid_comp_object
of analysis.pourbaix_diagram
ion_or_solid_comp_object
of analysis.pourbaix_diagram
Summary
ion_or_solid_comp_object
ofanalysis.pourbaix_diagram
, to fix Mistake in regex string of ion_or_solid_comp_object leads to example string formula "Na[+]" failing #4231