-
Notifications
You must be signed in to change notification settings - Fork 1
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
Added check_simulation_cell in utils #117
Conversation
Added testing
Added equal cell tolerance Added TODO to check ase in the future
Hi, so I checked ASE and the only option I saw is to directly check the positions and chemical symbols by using the functions Do you mind doing a final swap and telling me if something is off? |
Pull Request Test Coverage Report for Build 10917079315Details
💛 - Coveralls |
Looks good but I thought you would implement |
Ah true, sorry I didn't understand this part before. I can implement that and it makes all the sense. |
Much better now. What do you think? |
indeed just a couple more suggestions. |
Added __ne__ method
Done! Many thanks for the help 🙂 |
@JFRudzinski @ladinesa I added this utils function to check if a simulation cell is the same. "Same" here means that I check the positions in the lattice + the chemical symbol to be the same in each position. I am sure this can be extended, but for now, I need this when resolving workflows.
@ladinesa would you mind taking a quick look? I am pretty sure the check of the positions can be optimized, but I was lazy + ChatGPT is suggesting the wrong stuff (basically using numpy functions with some args that cannot be passed...).