Commit fbace519 authored by Jenni Rinker's avatar Jenni Rinker
Browse files

remove discon and nrel interface

parent af83b720
Pipeline #22688 passed with stage
in 26 seconds
......@@ -93,18 +93,15 @@ class ReferenceModel():
# list of needed DLLs
dll_list = [((dll, dll), dll)[isinstance(dll, tuple)] for dll in self.dll_list]
dll_name_lst = [dll for dll, _ in dll_list]
dll_name_list = [dll for dll, _ in dll_list] # names only
# ======= download tower clearance DLL =======
if 'towerclearance_mblade.dll' in dll_name_lst:
if 'towerclearance_mblade.dll' in dll_list:
get_towerclearance_mblade(folder=control_dir)
dll_list.remove('towerclearance_mblade.dll')
# ======= download discon DLL =======
if 'DISCON.dll' in dll_name_lst:
if 'DISCON.dll' in dll_name_list:
get_nrel_discon_interface(folder=control_dir)
dll_list.remove('DISCON.dll')
dll_list.remove('nrel_5mw_interface.dll')
# ======= get remaining dlls from binary repo =======
......@@ -113,7 +110,8 @@ class ReferenceModel():
# copy dlls to control repo
[shutil.copy('control-win32/' + t[0], control_dir + t[1])
for t in dll_list if t[0] not in ['towerclearance_mblade.dll']]
for t in dll_list if t[0] not in ['towerclearance_mblade.dll', 'DISCON.dll',
'nrel_5mw_interface.dll']]
# ======= write the git branch and commit to file =======
url, branch, commit, date = get_repo_info()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment