Open samwaseda opened 2 years ago
Hello, I'd like to work on this issue! I'd propose raising a more descriptive error inside of the calc_minimize() method of the LammpsControl class if it is called with a rotation matrix of value None.
Hi @KuhnMn, thanks for showing interest to contribute! I think simply raising a more descriptive error is fine for now. Since you have a good idea for the fix already, just go ahead and create a PR with that change.
Hi, I created a PR but am having some trouble understanding the workflow issues. I left a more detailed comment on my PR on what exactly is happening. If it's not too big a circumstance, I'd really appreciate some help. Thanks in advance!
This code raises the error:
The problem simply comes from the fact that the rotation matrix is
None
, because there's no structure defined. Either we just live with the already existing warning (No structure set, can not validate the simulation cell!
) or raise an error, but with a clearer message.