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

do not write ontology if from openfast true #177

Merged
merged 1 commit into from
May 5, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion weis/glue_code/runWEIS.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,8 @@ def run_weis(fname_wt_input, fname_modeling_options, fname_opt_options, overridd
froot_out = os.path.join(folder_output, opt_options['general']['fname_output'])
# Remove the fst_vt key from the dictionary and write out the modeling options
modeling_options['General']['openfast_configuration']['fst_vt'] = {}
wt_initial.write_ontology(wt_opt, froot_out)
if not modeling_options['Level3']['from_openfast']:
wt_initial.write_ontology(wt_opt, froot_out)
wt_initial.write_options(froot_out)

# Save data to numpy and matlab arrays
Expand Down