Skip to content

Commit

Permalink
Add another valid HDF5 extension (thanks JMM).
Browse files Browse the repository at this point in the history
Co-authored-by: Jonah Miller <[email protected]>
  • Loading branch information
RyanWollaeger and Yurlungur authored Nov 1, 2024
1 parent d57db67 commit cd895ca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class ZhuTableOpacity {
// assume this is one of the original Zhu et al (2021) ASCII files
loadZhuASCII(ff);
#ifdef SPINER_USE_HDF
} else if (extension == ".hdf5" || extension == ".h5") {
} else if (extension == ".hdf5" || extension == ".h5" || extension == ".sp5") {
hid_t file = H5Fopen(filename.c_str(), H5F_ACC_RDONLY, H5P_DEFAULT);
kappa_.loadHDF(file, "Zhu Table");
#endif
Expand Down

0 comments on commit cd895ca

Please sign in to comment.