aboutsummaryrefslogtreecommitdiff
path: root/eitControl.py
diff options
context:
space:
mode:
Diffstat (limited to 'eitControl.py')
-rw-r--r--eitControl.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/eitControl.py b/eitControl.py
index c9967a6..177a337 100644
--- a/eitControl.py
+++ b/eitControl.py
@@ -388,8 +388,15 @@ if __name__ == '__main__':
parser = argparse.ArgumentParser(description='Perform EIT based experiment.')
parser.add_argument('--test', '-t', action='store_true',
help='test mode, use fake/dummy hardware')
+ parser.add_argument('--config-file', '-c', action='append',
+ help='additional config files, could be used multiple time')
args = parser.parse_args()
+ if args.config_file:
+ for cf in args.config_file:
+ print("Reading config file: " + cf)
+ config.read(cf)
+
app = QtGui.QApplication([])
pg.setConfigOption('background', 'w')
pg.setConfigOption('foreground', 'k')