Skip to content

Commit

Permalink
FIX: Update python package import paths
Browse files Browse the repository at this point in the history
  • Loading branch information
cortadocodes committed May 21, 2024
1 parent fa027f4 commit 4e6e298
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion openfast_python/openfast_io/FAST_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import numpy as np
from functools import reduce
import operator
from openfast.FAST_vars_out import FstOutput
from openfast_io.FAST_vars_out import FstOutput

try:
from rosco.toolbox.utilities import read_DISCON, load_from_txt
Expand Down
2 changes: 1 addition & 1 deletion openfast_python/openfast_io/FAST_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import numpy as np
from functools import reduce

from openfast.FAST_reader import InputReader_OpenFAST
from openfast_io.FAST_reader import InputReader_OpenFAST

try:
from rosco.toolbox import utilities as ROSCO_utilities
Expand Down
6 changes: 3 additions & 3 deletions openfast_python/openfast_io/test/test_OF_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
import subprocess, sys
import platform

from openfast.FAST_reader import InputReader_OpenFAST
from openfast.FAST_writer import InputWriter_OpenFAST
from openfast.FAST_output_reader import FASTOutputFile
from openfast_io.FAST_reader import InputReader_OpenFAST
from openfast_io.FAST_writer import InputWriter_OpenFAST
from openfast_io.FAST_output_reader import FASTOutputFile

REPOSITORY_ROOT = osp.dirname(osp.dirname(osp.dirname(osp.dirname(__file__))))
RTESTS_DIR = osp.join(REPOSITORY_ROOT, "reg_tests","r-test")
Expand Down
2 changes: 1 addition & 1 deletion openfast_python/openfast_io/turbsim_util.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import os
import shutil
import subprocess
from openfast.IEC_CoeherentGusts import IEC_CoherentGusts
from openfast_io.IEC_CoeherentGusts import IEC_CoherentGusts

class TurbsimReader(object):

Expand Down

0 comments on commit 4e6e298

Please sign in to comment.