From 3c68159642b78345f24e959638a938535c63bb8c Mon Sep 17 00:00:00 2001 From: Jose Borreguero <borreguero@gmail.com> Date: Mon, 25 Jan 2016 15:57:18 -0500 Subject: [PATCH] Refs #14968 Replace H5LTfind_dataset with H5Lexists --- Framework/DataHandling/src/LoadSassena.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Framework/DataHandling/src/LoadSassena.cpp b/Framework/DataHandling/src/LoadSassena.cpp index 3bb9cc4c47c..2e7bca1fed3 100644 --- a/Framework/DataHandling/src/LoadSassena.cpp +++ b/Framework/DataHandling/src/LoadSassena.cpp @@ -429,7 +429,9 @@ void LoadSassena::exec() { for (std::vector<std::string>::const_iterator it = this->m_validSets.begin(); it != this->m_validSets.end(); ++it) { setName = *it; - if (H5LTfind_dataset(h5file, setName.c_str()) == 1) { + //if (H5LTfind_dataset(h5file, setName.c_str()) == 1) + if (H5Lexists(h5file, setName.c_str(), H5P_DEFAULT)) + { if (setName == "fq" || setName == "fq0" || setName == "fq2") this->loadFQ(h5file, gws, setName, qvmod, sorting_indexes); else if (setName == "fqt") -- GitLab