Skip to content

Commit

Permalink
Remove numpy from DISCON_dict
Browse files Browse the repository at this point in the history
  • Loading branch information
dzalkind committed Jul 7, 2023
1 parent e710c24 commit 53d097c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ROSCO_toolbox/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
from wisdem.inputs import load_yaml

from wisdem.inputs import load_yaml
from ROSCO_toolbox.ofTools.util.FileTools import remove_numpy

# Some useful constants
now = datetime.datetime.now()
Expand Down Expand Up @@ -581,6 +582,8 @@ def DISCON_dict(turbine, controller, txt_filename=None):
for param, value in controller.controller_params['DISCON'].items():
DISCON_dict[param] = value

# Make all lists, not numpy
DISCON_dict = remove_numpy(DISCON_dict)

return DISCON_dict

Expand Down

0 comments on commit 53d097c

Please sign in to comment.