You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/virtualship/cli/commands.py
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@
28
28
"--mfp_file",
29
29
type=str,
30
30
default=None,
31
-
help="Partially initialise a project from an exported xlsx or csv file from NIOZ' Marine Facilities Planning tool (specifically the \"Export Coordinates > DD\" option). User edits are required after initialisation.",
31
+
help='Partially initialise a project from an exported xlsx or csv file from NIOZ\' Marine Facilities Planning tool (specifically the "Export Coordinates > DD" option). User edits are required after initialisation.',
32
32
)
33
33
definit(path, mfp_file):
34
34
"""
@@ -53,11 +53,13 @@ def init(path, mfp_file):
53
53
)
54
54
55
55
config.write_text(utils.get_example_config())
56
-
56
+
57
57
ifmfp_file:
58
58
# Generate schedule.yaml from the MPF file
59
59
click.echo(f"Generating schedule from {mfp_file}...")
60
-
mfp_to_yaml(mfp_file, str(path)) # Pass the path to save in the correct directory
60
+
mfp_to_yaml(
61
+
mfp_file, str(path)
62
+
) # Pass the path to save in the correct directory
0 commit comments