Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reg_tests python scripts: fix issue where directory returned is empty #1021

Merged
merged 1 commit into from
Mar 9, 2022

Conversation

bjonkman
Copy link
Contributor

@bjonkman bjonkman commented Mar 2, 2022

Feature or improvement description
When the basepath string is empty, we had been adding "/lib" to the path instead of "./lib", which then causes the scripts to fail to find the library files they need.

Impacted areas of the software
regression testing using python scripts from the directory where they are located (and using python manualRegressionTest.py instead of python ./manualRegressionTest.py)

Test results, if applicable
This should not change any test results.

When the string is empty, we had been adding "/lib" to the path instead of "./lib", which then causes the scripts to fail to find the library files.
@rafmudaf rafmudaf merged commit 0279390 into OpenFAST:dev Mar 9, 2022
@bjonkman bjonkman deleted the b/fix_PythonScripts branch March 9, 2022 16:52
@rafmudaf rafmudaf mentioned this pull request Jul 8, 2022
10 tasks
rafmudaf added a commit to rafmudaf/openfast that referenced this pull request Aug 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants