You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix TypeError when attr force_field not exists (#3495)
* fix TypeError when attr force_field not exists
Fix bug "TypeError: argument of type 'NoneType' is not iterable". Not all LammpsData in CombinedData should have attribute force_field, replace this `NoneType` attribute with `[]` to skip unexisting force_field.
Signed-off-by: XiongJF <[email protected]>
* add test for CombinedData with different ff type
* refactor new tests
---------
Signed-off-by: XiongJF <[email protected]>
Co-authored-by: Janosh Riebesell <[email protected]>
0 commit comments