forked from wateraccounting/WA_Hyperloop
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpaths.py
More file actions
25 lines (22 loc) · 1.02 KB
/
paths.py
File metadata and controls
25 lines (22 loc) · 1.02 KB
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
# -*- coding: utf-8 -*-
"""
Created on Tue Feb 20 16:04:01 2018
@author: bec
"""
import WA_Hyperloop
import os
def get_path(name):
install_path = os.path.dirname(WA_Hyperloop.__file__)
paths = {
'sheet1_svg': os.path.join(install_path, "svg\sheet_1.svg"),
'sheet2_svg': os.path.join(install_path, "svg\sheet_2.svg"),
'sheet3_1_svg': os.path.join(install_path, "svg\sheet_3_part1.svg"),
'sheet3_2_svg': os.path.join(install_path, "svg\sheet_3_part2.svg"),
'sheet4_1_svg': os.path.join(install_path, "svg\sheet_4_part1.svg"),
'sheet4_2_svg': os.path.join(install_path, "svg\sheet_4_part2.svg"),
'sheet6_svg': os.path.join(install_path, "svg\sheet_6.svg"),
'sheet5_svg': os.path.join(install_path, "svg\sheet_5.svg"),
'sheet7m_svg': os.path.join(install_path, "svg\sheet7_month.svg"),
'sheet7y_svg': os.path.join(install_path, "svg\sheet7_yearly.svg")
}
return paths[name]