smog-server / OpenSMOG

OpenSMOG is a Python library for performing molecular dynamics simulations using Structure-Based Models. OpenSMOG uses OpenMM.
MIT License
11 stars 6 forks source link

better handling of missing save folder #68

Closed Whitford closed 1 year ago

Whitford commented 1 year ago

If saveFolder is not called, then it crashes with a cryptic message

"....object has no attribute 'outputNames'"

we should set the save folder to ./ if it is not defined.

Whitford commented 1 year ago

We now use pathlib to create the parent directories, too, if missing. see commit 6c7606c