forked from LovisaLugnegard/exjobb
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample_simulator_no_flask_dummy_set.py
More file actions
29 lines (23 loc) · 1.24 KB
/
example_simulator_no_flask_dummy_set.py
File metadata and controls
29 lines (23 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import simulator_no_flask
# Feel free to modify params here for testing, etc.
ip = '130.238.89.140'
dir = './test-images'
# This pipeline was for ben to test simulator integration
hio_config_ben_test_hio_example = {'master_host': ip,
'master_port': 8080,
'container_name': 'benblamey/hio-example:latest',
'container_os': 'ubuntu'}
# This pipeline was for ben to test simulator integration
hio_config_ben_test_haste_example = {'master_host': ip,
'master_port': 8080,
'container_name': 'benblamey/haste-example:latest',
'container_os': 'ubuntu'}
# This is the production pipeline
hio_config_hokan = {'master_host': '130.239.81.126',
'master_port': 8080,
'container_name': 'hakanwie/test:batch_hist2',
'container_os': 'ubuntu'}
# get_files(file_path, period, binning, color_channel, send_to_target):
simulator_no_flask.get_files(dir, 0.01, None, None, "yes",
hio_config=hio_config_ben_test_haste_example,
stream_id_tag='dummy_set')