Commits
Stewart Williams authored d58fe238e8d
14 14 | from .conversion import * |
15 15 | from .diagnostics import * |
16 16 | from .framework import * |
17 17 | from .imaging import * |
18 18 | from .ppr import * |
19 19 | from .sorting import * |
20 20 | from .utils import * |
21 21 | from .weblog import * |
22 22 | from .math import * |
23 23 | from .positioncorrection import * |
24 + | from .subprocess import * |
24 25 | |
25 26 | # IMPORTANT! If you import from a new submodule, please add it to the list below |
26 27 | _all_modules = [ |
27 28 | 'casa_data', |
28 29 | 'conversion', |
29 30 | 'diagnostics', |
30 31 | 'framework', |
31 32 | 'imaging', |
32 33 | 'ppr', |
33 34 | 'sorting', |
34 35 | 'utils', |
35 36 | 'weblog', |
36 37 | 'math', |
37 - | 'positioncorrection' |
38 + | 'positioncorrection', |
39 + | 'subprocess' |
38 40 | ] |
39 41 | |
40 42 | |
41 43 | def _ensure_no_multiple_definitions(module_names): |
42 44 | """ |
43 45 | Raise an ImportError if references are exported with the same name. |
44 46 | |
45 47 | The aim of this function is to prevent functions with the same name being |
46 48 | imported into the same namespace. For example, import |
47 49 | module_a.my_function and module_b.my_function would raise an error. |