-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.py
38 lines (27 loc) · 897 Bytes
/
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
"""
Main script for conducting 3 analysis options.
Usage:
python main.py
Author: Sangjoon Bob Lee
"""
import os
from core.run import coordination_analysis, site_analysis, system_analysis
def main():
script_path = os.path.dirname(os.path.abspath(__file__))
print("\nWelcome! Please choose an option to proceed:")
options = {
"1": "Conduct site analysis.",
"2": "Conduct system analysis.",
"3": "Conduct coordination analysis.",
}
for key, value in options.items():
print(f"[{key}] {value}")
choice = input(f"Enter your choice (1-{len(options)}): ")
if choice == "1":
site_analysis.run_site_analysis(script_path)
elif choice == "2":
system_analysis.run_system_analysis(script_path)
elif choice == "3":
coordination_analysis.run_coordination(script_path)
if __name__ == "__main__":
main()