liuganghuggingface commited on
Commit
e935b86
·
1 Parent(s): 1be06cc

add property mapping

Browse files
Files changed (2) hide show
  1. app.py +1 -2
  2. property_mapping.json +127 -0
app.py CHANGED
@@ -34,8 +34,7 @@ except ImportError:
34
  # ============= PROPERTY CONFIGURATION =============
35
 
36
  # Load property mapping
37
- PROPERTY_MAPPING_PATH = Path(__file__).parent.parent / "train_model" / "cleaned" / "property_mapping.json"
38
- with open(PROPERTY_MAPPING_PATH, 'r') as f:
39
  PROPERTY_MAPPING = json.load(f)
40
 
41
  # Filter out Gas Transport Properties
 
34
  # ============= PROPERTY CONFIGURATION =============
35
 
36
  # Load property mapping
37
+ with open('property_mapping.json', 'r') as f:
 
38
  PROPERTY_MAPPING = json.load(f)
39
 
40
  # Filter out Gas Transport Properties
property_mapping.json ADDED
@@ -0,0 +1,127 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "Egc": {
3
+ "full_name": "Bandgap (chain)",
4
+ "unit": "eV",
5
+ "category": "Electronic Properties"
6
+ },
7
+ "Egb": {
8
+ "full_name": "Bandgap (bulk)",
9
+ "unit": "eV",
10
+ "category": "Electronic Properties"
11
+ },
12
+ "Eea": {
13
+ "full_name": "Electron affinity",
14
+ "unit": "eV",
15
+ "category": "Electronic Properties"
16
+ },
17
+ "Ei": {
18
+ "full_name": "Ionization energy",
19
+ "unit": "eV",
20
+ "category": "Electronic Properties"
21
+ },
22
+ "eps": {
23
+ "full_name": "Dielectric constant",
24
+ "unit": "dimensionless",
25
+ "category": "Dielectric & Optical Properties"
26
+ },
27
+ "nc": {
28
+ "full_name": "Refractive index",
29
+ "unit": "dimensionless",
30
+ "category": "Dielectric & Optical Properties"
31
+ },
32
+ "Tg": {
33
+ "full_name": "Glass transition temperature",
34
+ "unit": "\u00b0C",
35
+ "category": "Thermal Properties"
36
+ },
37
+ "Tm": {
38
+ "full_name": "Melting temperature",
39
+ "unit": "\u00b0C",
40
+ "category": "Thermal Properties"
41
+ },
42
+ "Tc": {
43
+ "full_name": "Thermal conductivity",
44
+ "unit": "W/(m*K)",
45
+ "category": "Thermal Properties"
46
+ },
47
+ "Density": {
48
+ "full_name": "Density",
49
+ "unit": "g/cm\u00b3",
50
+ "category": "Physical & Thermodynamic Properties"
51
+ },
52
+ "Eat": {
53
+ "full_name": "Atomization energy",
54
+ "unit": "eV/atom",
55
+ "category": "Physical & Thermodynamic Properties"
56
+ },
57
+ "Cp": {
58
+ "full_name": "Heat capacity (constant pressure)",
59
+ "unit": "cal/(g*\u00b0C)",
60
+ "category": "Physical & Thermodynamic Properties"
61
+ },
62
+ "Cv": {
63
+ "full_name": "Heat capacity (constant volume)",
64
+ "unit": "cal/(g*\u00b0C)",
65
+ "category": "Physical & Thermodynamic Properties"
66
+ },
67
+ "FFV": {
68
+ "full_name": "Fractional free volume",
69
+ "unit": "dimensionless",
70
+ "category": "Physical & Thermodynamic Properties"
71
+ },
72
+ "Rg": {
73
+ "full_name": "Radius of gyration",
74
+ "unit": "\u00c5 or nm",
75
+ "category": "Physical & Thermodynamic Properties"
76
+ },
77
+ "Xc": {
78
+ "full_name": "Crystallization tendency",
79
+ "unit": "%",
80
+ "category": "Physical & Thermodynamic Properties"
81
+ },
82
+ "He": {
83
+ "full_name": "Helium gas permeability",
84
+ "unit": "Barrer",
85
+ "category": "Permeability Properties"
86
+ },
87
+ "H2": {
88
+ "full_name": "Hydrogen gas permeability",
89
+ "unit": "Barrer",
90
+ "category": "Permeability Properties"
91
+ },
92
+ "CO2": {
93
+ "full_name": "Carbon dioxide gas permeability",
94
+ "unit": "Barrer",
95
+ "category": "Permeability Properties"
96
+ },
97
+ "N2": {
98
+ "full_name": "Nitrogen gas permeability",
99
+ "unit": "Barrer",
100
+ "category": "Permeability Properties"
101
+ },
102
+ "O2": {
103
+ "full_name": "Oxygen gas permeability",
104
+ "unit": "Barrer",
105
+ "category": "Permeability Properties"
106
+ },
107
+ "CH4": {
108
+ "full_name": "Methane gas permeability",
109
+ "unit": "Barrer",
110
+ "category": "Permeability Properties"
111
+ },
112
+ "D": {
113
+ "full_name": "Gas diffusion coefficient",
114
+ "unit": "cm\u00b2/s",
115
+ "category": "Gas Transport Properties"
116
+ },
117
+ "P": {
118
+ "full_name": "Gas permeability coefficient",
119
+ "unit": "cm\u00b3(STP)cm/(cm\u00b2*s*Pa)",
120
+ "category": "Gas Transport Properties"
121
+ },
122
+ "S": {
123
+ "full_name": "Gas solubility coefficient",
124
+ "unit": "cm\u00b3(STP)/(cm\u00b3*Pa)",
125
+ "category": "Gas Transport Properties"
126
+ }
127
+ }