-
Notifications
You must be signed in to change notification settings - Fork 250
Fix broken examples #2824
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
base: main
Are you sure you want to change the base?
Fix broken examples #2824
Changes from all commits
1065c98
6794afd
a41ed9a
9ee8bcc
fa2aab9
d82a7c5
2eb3abe
7563148
2f274da
68bb109
db8868e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I like having more details, but it's a bit annoying that the False is no longer How about returning the reason (as a string) if it's true, and As long as someone doesn't do something like But maybe this is ok.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe we can refactor it to "passes_species_constraint" which evaluates to either It's a safer coding practice to explicitly state the equality check (for example |
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.
might want
!electrochemand!surface_developmentas well as!surface?(possibly some other things in the recommended.py file)
Uh oh!
There was an error while loading. Please reload this page.
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 example crashed previously, which is why
!surfacewas added. AFAIK these others aren't problematic as their inclusion does not lead to a crash. but we can add this if you want to be preventative