File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -134,6 +134,10 @@ void ADIOS2IOHandlerImpl::init(json::TracingJSON cfg)
134134 m_engineType.end (),
135135 m_engineType.begin (),
136136 [](unsigned char c) { return std::tolower (c); });
137+
138+ // environment-variable based configuration
139+ m_schema = auxiliary::getEnvNum (" OPENPMD2_ADIOS2_SCHEMA" , m_schema);
140+
137141 if (cfg.json ().contains (" adios2" ))
138142 {
139143 m_config = cfg[" adios2" ];
@@ -179,8 +183,6 @@ void ADIOS2IOHandlerImpl::init(json::TracingJSON cfg)
179183 defaultOperators = std::move (operators.value ());
180184 }
181185 }
182- // environment-variable based configuration
183- m_schema = auxiliary::getEnvNum (" OPENPMD2_ADIOS2_SCHEMA" , m_schema);
184186}
185187
186188std::optional<std::vector<ADIOS2IOHandlerImpl::ParameterizedOperator>>
You can’t perform that action at this time.
0 commit comments