BHoM / LadybugTools_Toolkit

GNU Lesser General Public License v3.0
2 stars 2 forks source link

Adapter: adapter constructor that accepts environment should check if the environment actually exists #250

Open Tom-Kingstone opened 3 weeks ago

Tom-Kingstone commented 3 weeks ago

Broken rules:

The constructor that accepts a PythonEnvironment should check that the exe referenced actually exists.

Suggestions to restore compliance:

add a null check, and a check that the path to the exe is valid