Skip to content

Commit bcd387d

Browse files
committed
Update example.py
1 parent be9b047 commit bcd387d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/example.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from fmu_manipulation_toolbox.operations import FMU, OperationSaveNamesToCSV, OperationStripTopLevel, \
2-
OperationRenameFromCSV, OperationAddRemotingWin32, OperationGetNames
2+
OperationRenameFromCSV
3+
from fmu_manipulation_toolbox.remoting import OperationAddRemotingWin32
34
# 1st Use Case: remove toplevel bus (if any)
45
fmu = FMU("tests/bouncing_ball.fmu")
56
operation = OperationStripTopLevel()
@@ -24,4 +25,4 @@
2425
fmu.repack("tests/bouncing_ball-win32.fmu")
2526

2627
fmu = FMU("tests/bouncing_ball-renamed.fmu")
27-
fmu.apply_operation(OperationGetNames())
28+
fmu.apply_operation(OperationSaveNamesToCSV("port_name.csv"))

0 commit comments

Comments
 (0)