From 83427a00082f77ee80b1e423a18f8a658a3b4612 Mon Sep 17 00:00:00 2001
From: Thomas Lambert <t.lambert@uliege.be>
Date: Tue, 19 Sep 2023 15:59:58 +0200
Subject: [PATCH] fix(rotare): potential path issue

---
 src/rotare.m | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/rotare.m b/src/rotare.m
index 3bf7b9a..0a80671 100644
--- a/src/rotare.m
+++ b/src/rotare.m
@@ -48,10 +48,14 @@ function [Results] = rotare(configFile)
     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
     % Cleanup, imports and environment setting
-    clearvars -except configFile;
+    % clearvars -except configFile;
     close all;
     clc;
+    % Add everything to path
+    % BUT, only include root of airfoil_data, otherwise issue with aeropy examples in venv
     addpath(genpath('.'));
+    rmpath(genpath('./airfoil_data/'));
+    addpath('./airfoil_data/');
 
     verifyinstall; % Check if packages (libs) and required functions are presents on the system
 
-- 
GitLab