Open andresordorica opened 1 year ago
Good catch, I will have a PR to fix this by next Monday unless you beat me to it.
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.
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.