Skip to content

Commit

Permalink
Try gen_oloc in test
Browse files Browse the repository at this point in the history
  • Loading branch information
dzalkind committed Oct 19, 2021
1 parent 1833460 commit 8dd111a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion examples/13_DTQP/gen_oloc.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

weis_dir = os.path.dirname(os.path.dirname(os.path.dirname(os.path.realpath(__file__))))

if __name__ == '__main__':
def gen_oloc():

# read WEIS options:
mydir = os.path.dirname(os.path.realpath(__file__)) # get path to this file
Expand Down Expand Up @@ -145,3 +145,4 @@

print('here')

gen_oloc()
2 changes: 1 addition & 1 deletion weis/test/test_examples_skinny.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"03_NREL5MW_OC3_spar/weis_driver",
"06_IEA-15-240-RWT/weis_driver",
"09_design_of_experiments/weis_driver",
# "13_DTQP/gen_oloc",
"13_DTQP/gen_oloc",
]

class TestSkinnyExamples(unittest.TestCase):
Expand Down

0 comments on commit 8dd111a

Please sign in to comment.