Saleil Bhat | 1c5593d | 2017-01-06 15:25:57 -0800 | [diff] [blame] | 1 | #!/usr/bin/env python |
| 2 | |
Saleil Bhat | 1c5593d | 2017-01-06 15:25:57 -0800 | [diff] [blame] | 3 | # Runs the standard XOS observer |
| 4 | |
| 5 | import importlib |
| 6 | import os |
| 7 | import sys |
Pingping Lin | 4cc1fae | 2017-06-09 17:42:02 -0700 | [diff] [blame] | 8 | |
Saleil Bhat | 1c5593d | 2017-01-06 15:25:57 -0800 | [diff] [blame] | 9 | observer_path = os.path.join(os.path.dirname( |
Pingping Lin | 4cc1fae | 2017-06-09 17:42:02 -0700 | [diff] [blame] | 10 | os.path.realpath(__file__)), "../../synchronizers/new_base") |
Saleil Bhat | 1c5593d | 2017-01-06 15:25:57 -0800 | [diff] [blame] | 11 | sys.path.append(observer_path) |
| 12 | mod = importlib.import_module("xos-synchronizer") |
| 13 | mod.main() |