Skip to content

Commit 7788d50

Browse files
committed
Merge remote-tracking branch 'origin/main' into new_base
2 parents 29334fd + ff97ed8 commit 7788d50

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

famodel/project.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4377,10 +4377,16 @@ def unload(self,file='project.yaml'):
43774377
# we have a shared anchor here, put mooring in array_mooring
43784378
if fairleads:
43794379
# append mooring line to array_moor section
4380-
arrayMoor.append([current_config,moor.attached_to[0].id, moor.attached_to[1].id, 'None',flB])
4380+
arrayMoor.append([current_config,
4381+
mapAnchNames[atts[is_anch][0].id],
4382+
moor.attached_to[1].id,
4383+
'None',
4384+
flB])
43814385
else:
43824386
# append mooring line to array_moor section
4383-
arrayMoor.append([current_config,moor.attached_to[0].id, moor.attached_to[1].id])
4387+
arrayMoor.append([current_config,
4388+
mapAnchNames[atts[is_anch][0].id],
4389+
moor.attached_to[1].id])
43844390
else:
43854391
# not shared anchor or shared mooring, add line to mooring system
43864392
if fairleads:

0 commit comments

Comments
 (0)