pren / poltype

POLTYPE: AMOEBA parametrization tool
https://pren.github.io/poltype
Other
4 stars 11 forks source link

Find Tinker executables more flexibly #42

Closed mquevill closed 4 years ago

mquevill commented 4 years ago

Mirroring the structure of SanitizeQMMethod, I broke SanitizeMMExecutables into multiple function calls. This will attempt to find Tinker executables with or without the suffix .x and with or without specifying tinkerdir in __init__ or TINKERDIR in your environment. This also ended up combining the two places these were checked (in both __init__() and initialize()).

This would avoid any issues like #25 if the default suffix is ever changed again.

misterbrandonwalker commented 4 years ago

had to add manually because of conflicts, thanks