Skip to content

Commit 00cf2a5

Browse files
author
Louis Papillon
committed
fix when elastodyn tower file path is absolute
1 parent 0284731 commit 00cf2a5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

openfast_io/openfast_io/FAST_reader.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3478,6 +3478,8 @@ def execute(self):
34783478

34793479
if not os.path.isabs(self.fst_vt['ElastoDyn']['TwrFile']):
34803480
ed_tower_file = os.path.join(os.path.dirname(ed_file), self.fst_vt['ElastoDyn']['TwrFile'])
3481+
else:
3482+
ed_tower_file = self.fst_vt['ElastoDyn']['TwrFile']
34813483
self.read_ElastoDynTower(ed_tower_file)
34823484

34833485
if self.fst_vt['Fst']['CompInflow'] == 1:

0 commit comments

Comments
 (0)