We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3741a7e commit 1de01deCopy full SHA for 1de01de
1 file changed
src/IO/ADIOS/ADIOS2IOHandler.cpp
@@ -52,6 +52,7 @@
52
#include <stdexcept>
53
#include <string>
54
#include <type_traits>
55
+#include <variant>
56
57
namespace openPMD
58
{
@@ -1782,7 +1783,10 @@ void ADIOS2IOHandlerImpl::listPaths(
1782
1783
fileData.availableAttributesPrefixed(tablePrefix);
1784
if (fileData.streamStatus ==
1785
detail::ADIOS2File::StreamStatus::DuringStep ||
- fileData.stepSelection().has_value())
1786
+ (fileData.stepSelection().has_value() &&
1787
+ std::holds_alternative<
1788
+ detail::AdiosAttributes::RandomAccess_t>(
1789
+ fileData.attributes().m_data)))
1790
1791
auto currentStep = fileData.currentStep();
1792
auto &IO = fileData.m_IO;
0 commit comments