mbuild icon indicating copy to clipboard operation
mbuild copied to clipboard

ERROR when running CPM in triclinic box:

Open andresordorica opened this issue 2 years ago • 2 comments

https://github.com/mosdef-hub/mbuild/blob/7da0c05b848e521d81aa8ad17194cc681a997389/mbuild/formats/lammpsdata.py#L1136 Even though the box has no tilt, this lines makes the modify kspace throw an error, in case the tilt is 0.0 0.0 0.0 this line should be omitted.

andresordorica avatar Apr 07 '23 16:04 andresordorica

Good catch, I will have a PR to fix this by next Monday unless you beat me to it.

daico007 avatar Apr 07 '23 18:04 daico007

I was checking the lammpsdata.py (so the lammps writer), so there's actually already a check in place to handle the orthogonal box (https://github.com/mosdef-hub/mbuild/blob/main/mbuild/formats/lammpsdata.py#L1096-L1109), can you provide a minimal working example of the system when you encounter the error? There might be something else wrong with the box I think.

daico007 avatar Apr 17 '23 21:04 daico007