From cebbef5f4883eda3f8eb623c136313d47bc08ba7 Mon Sep 17 00:00:00 2001 From: Nikhar Abbas Date: Tue, 28 Apr 2020 12:50:18 -0600 Subject: [PATCH] check for spectral in wisdem --- ROSCO_toolbox/utilities.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ROSCO_toolbox/utilities.py b/ROSCO_toolbox/utilities.py index 81eae8b6a..6c0c316d3 100644 --- a/ROSCO_toolbox/utilities.py +++ b/ROSCO_toolbox/utilities.py @@ -17,7 +17,10 @@ from itertools import takewhile, product import struct -from wisdem.aeroelasticse.Util import spectral +try: + from wisdem.aeroelasticse.Util import spectral +except: + pass # Some useful constants now = datetime.datetime.now()