Skip to content

Commit aeaffa5

Browse files
Merge pull request #186 from nextmv-io/merschformann/local-i-o-options
Uses local only for I/O options
2 parents 009b54d + 36c6441 commit aeaffa5

File tree

5 files changed

+10
-44
lines changed
  • .nextmv/readme/python-ortools-region-allocation
  • go-nextroute
  • python-ortools-region-allocation
  • python-simpy-carwash-simulation
  • python-xpress-park-location

5 files changed

+10
-44
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
cat input.json | docker run -i --rm \
2-
-v $(pwd):/app ghcr.io/nextmv-io/runtime/pyomo:latest \
2+
-v $(pwd):/app ghcr.io/nextmv-io/runtime/python:3.11 \
33
sh -c 'python3 /app/main.py'

go-nextroute/app.yaml

Lines changed: 4 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -290,21 +290,11 @@ configuration:
290290
- name: runner.input.path
291291
option_type: string
292292
description: The input file path
293-
ui:
294-
control_type: input
295-
display_name: Input Path
296-
hidden_from:
297-
- viewer
298-
- operator
293+
local_only: true
299294
- name: runner.output.path
300295
option_type: string
301296
description: The output file path
302-
ui:
303-
control_type: input
304-
display_name: Output Path
305-
hidden_from:
306-
- viewer
307-
- operator
297+
local_only: true
308298
- name: runner.output.solutions
309299
option_type: string
310300
description: "{all, last} specifies whether to output all solutions or only the last one"
@@ -321,21 +311,11 @@ configuration:
321311
- name: runner.profile.cpu
322312
option_type: string
323313
description: The CPU profile file path
324-
ui:
325-
control_type: input
326-
display_name: CPU Profile Path
327-
hidden_from:
328-
- viewer
329-
- operator
314+
local_only: true
330315
- name: runner.profile.memory
331316
option_type: string
332317
description: The memory profile file path
333-
ui:
334-
control_type: input
335-
display_name: Memory Profile Path
336-
hidden_from:
337-
- viewer
338-
- operator
318+
local_only: true
339319

340320
# Solve options
341321
- name: solve.duration

python-ortools-region-allocation/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Cloud, you can use the following command:
2828

2929
```bash
3030
cat input.json | docker run -i --rm \
31-
-v $(pwd):/app ghcr.io/nextmv-io/runtime/pyomo:latest \
31+
-v $(pwd):/app ghcr.io/nextmv-io/runtime/python:3.11 \
3232
sh -c 'python3 /app/main.py'
3333
```
3434

python-simpy-carwash-simulation/app.yaml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,9 @@ configuration:
3636
description: Path to input data file, default is stdin.
3737
option_type: string
3838
default: ""
39-
required: false
40-
ui:
41-
control_type: input
42-
display_name: Input Path
39+
local_only: true
4340
- name: output
4441
description: Path to output data file, default is stdout.
4542
option_type: string
4643
default: ""
47-
required: false
48-
ui:
49-
control_type: input
50-
display_name: Output Path
44+
local_only: true

python-xpress-park-location/app.yaml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,21 +22,13 @@ configuration:
2222
default: ""
2323
required: false
2424
description: Path to input file. Default is stdin.
25-
ui:
26-
control_type: input
27-
hidden_from:
28-
- operator
29-
display_name: Input file
25+
local_only: true
3026
- name: output
3127
option_type: string
3228
default: ""
3329
required: false
3430
description: Path to output file. Default is stdout.
35-
ui:
36-
control_type: input
37-
hidden_from:
38-
- operator
39-
display_name: Output file
31+
local_only: true
4032
- name: objective
4133
option_type: string
4234
default: average_distance

0 commit comments

Comments
 (0)