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.