We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae40a54 commit 20f9dd5Copy full SHA for 20f9dd5
examples/example_driver.py
@@ -23,15 +23,16 @@
23
import matplotlib.pyplot as plt
24
25
dir = os.path.dirname(os.path.realpath(__file__))
26
+os.chdir(dir)
27
28
# set yaml file location and name
29
ontology_file = "OntologySample200m.yaml"
30
31
#%% Section 1: Project without RAFT
32
print('Creating project without RAFT\n')
-print(os.getcwd())
33
+
34
# create project object
-project = Project(file=os.path.join(dir, ontology_file), raft=False)
35
+project = Project(file=ontology_file, raft=False)
36
# create moorpy system of the array, include cables in the system
37
project.getMoorPyArray(cables=True)
38
# plot in 3d, using moorpy system for the mooring and cable plots
0 commit comments