Skip to content

Commit

Permalink
python avail check for windbosse
Browse files Browse the repository at this point in the history
  • Loading branch information
dguittet committed May 8, 2024
1 parent 34b68fa commit 6666f82
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/ssc_test/cmod_windpower_test.cpp
Expand Up @@ -541,6 +541,10 @@ TEST(Turbine_powercurve_cmod_windpower_eqns, Case4) {
}

bool setup_python() {
if (!std::getenv("SAMNTDIR")){
std::cerr << "Python not configured.";
return false;
}
#ifdef __WINDOWS__
auto python_dir = std::string(std::getenv("SAMNTDIR")) + "\\deploy\\runtime\\python\\";
#else
Expand Down

0 comments on commit 6666f82

Please sign in to comment.