gwmod / nlmod

Python package to build, run and visualize MODFLOW 6 groundwater models in the Netherlands.
https://nlmod.readthedocs.io
MIT License
31 stars 2 forks source link

Added get_exe_path with more features #347

Closed bdestombe closed 3 months ago

bdestombe commented 3 months ago

Use previously installed anywhere. If doesn't exist, download it.

bdestombe commented 3 months ago

As I am switching a lot between different Python environments and recreating them, the implemented features greatly reduce the number of having to download the executables.

bdestombe commented 3 months ago

There are two minor remarks on the coding style from codacy, and I don't see easy fixes for those. The try/except should catch multiple errors (haven't encountered all of them) and the other one I don't understand.

bdestombe commented 3 months ago

The tests failing are not related to this PR. They were also failing in the previous commit: #345