Skip to content

Commit

Permalink
MAINT: use relative paths for default config files
Browse files Browse the repository at this point in the history
  • Loading branch information
YannickDieter committed Jan 9, 2018
1 parent 072be2c commit 33d81de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pymosa/configuration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
no_data_timeout : 10 # no data timeout after which the scan will be aborted, in seconds
scan_timeout : 8 # timeout for scan after which the scan will be stopped, in seconds; if False no limit on scan time
max_triggers : False # number of maximum received triggers after stopping readout, if False no limit on received trigger
m26_configuration_file : '/home/silab/git/pymosa/pymosa/m26_config/mmc3_anemome_th9.yaml' # configuration file for Mimosa26 sensors, basically selects sensor threshold
m26_configuration_file : './m26_config/mmc3_anemome_th10.yaml' # configuration file for Mimosa26 sensors, basically selects sensor threshold
send_data : 'tcp://127.0.0.1:5500' # tcp adress on which data is send; to allow incoming connections on all interfaces use 0.0.0.0
# output_folder: # sub-folder in working dir which will be created in order to store data

Expand Down
2 changes: 1 addition & 1 deletion pymosa/m26.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ def handle_err(self, exc):


if __name__ == '__main__':
with open('/home/silab/git/pymosa/pymosa/configuration.yaml', 'r') as f:
with open('./configuration.yaml', 'r') as f:
config = yaml.load(f)

dut = m26(socket_address=config['send_data'])
Expand Down

0 comments on commit 33d81de

Please sign in to comment.