From 8ac476323305dff104e498e6eb1c8c99fa679f6d Mon Sep 17 00:00:00 2001 From: Garrett Barter Date: Sun, 27 Aug 2023 20:38:35 -0700 Subject: [PATCH] correct import oversight --- pCrunch/io/__init__.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pCrunch/io/__init__.py b/pCrunch/io/__init__.py index 0942810..5af78e6 100644 --- a/pCrunch/io/__init__.py +++ b/pCrunch/io/__init__.py @@ -3,13 +3,11 @@ __maintainer__ = "Jake Nunemaker" __email__ = ["jake.nunemaker@nrel.gov"] +# Need all these for import here in __init__ even if not used in code below +from pCrunch.io.openfast import OpenFASTAscii, OpenFASTBinary, OpenFASTOutput -import numpy as np -from .openfast import OpenFASTAscii, OpenFASTBinary - - -def load_FAST_out(filenames, tmin=0, tmax=np.inf, **kwargs): +def load_FAST_out(filenames, tmin=0, tmax=float('inf'), **kwargs): """ Load a list of OpenFAST files.