@@ -116,56 +116,3 @@ mod tests {
116
116
) ;
117
117
}
118
118
}
119
-
120
-
121
-
122
-
123
-
124
-
125
-
126
-
127
-
128
-
129
-
130
-
131
-
132
-
133
- // fn main() {
134
- // // Define the filename
135
- // const FILENAME: &str = "Li6.h5";
136
- // // Define the temperature and reaction keys you want to print
137
- // let temperature_key = "294K";
138
- // let reaction_key = "reaction_444";
139
-
140
- // // Call the read_hdf5 function with the filename as an argument
141
- // let (energy_map, reactions_map) = read_hdf5(FILENAME);
142
-
143
- // // Print the key structure of the returned HashMaps
144
- // println!("Energy map keys:");
145
- // for key in energy_map.keys() {
146
- // println!(" {}", key);
147
- // }
148
-
149
- // println!("Reactions map keys:");
150
- // for (reaction, temp_map) in &reactions_map {
151
- // println!(" Reaction: {}", reaction);
152
- // for temp in temp_map.keys() {
153
- // println!(" Temperature: {}", temp);
154
- // }
155
- // }
156
-
157
- // // Print the energy values for the specified temperature
158
- // println!(
159
- // "Energy data for {}: {:?}",
160
- // temperature_key,
161
- // energy_map.get(temperature_key).unwrap()
162
- // );
163
-
164
- // // Print the reaction data for the specified temperature and reaction
165
- // println!(
166
- // "Reaction {} data for {}: {:?}",
167
- // reaction_key,
168
- // temperature_key,
169
- // reactions_map.get(reaction_key).unwrap().get(temperature_key).unwrap()
170
- // );
171
- // }
0 commit comments