:param start_path: initial path for lookup Obtain Arcadia root or raise exception when root cannot be found.
(start_path=os.path.abspath(__file__))
| 43 | |
| 44 | |
| 45 | def get_arcadia_root(start_path=os.path.abspath(__file__)): |
| 46 | """ |
| 47 | :param start_path: initial path for lookup |
| 48 | Obtain Arcadia root or raise exception when root cannot be found. |
| 49 | """ |
| 50 | arcadia_root = try_get_arcadia_root(start_path=start_path) |
| 51 | if not arcadia_root: |
| 52 | raise Exception("Cannot find Arcadia root") |
| 53 | return arcadia_root |
nothing calls this directly
no test coverage detected