Skip to content

Commit 93b4b2d

Browse files
committed
removed old code;
1 parent 410ed9f commit 93b4b2d

File tree

1 file changed

+0
-53
lines changed

1 file changed

+0
-53
lines changed

src/lib.rs

-53
Original file line numberDiff line numberDiff line change
@@ -116,56 +116,3 @@ mod tests {
116116
);
117117
}
118118
}
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

Comments
 (0)