File tree Expand file tree Collapse file tree 3 files changed +6
-9
lines changed
Expand file tree Collapse file tree 3 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -87,8 +87,8 @@ json::ParsedConfig Parameter<Operation::CREATE_DATASET>::compileJSONConfig(
8787 return json::ParsedConfig{
8888 std::move (base_config.config ),
8989 (options.empty () || options == " {}" )
90- ? manual_config .originallySpecifiedAs
91- : base_config .originallySpecifiedAs };
90+ ? base_config .originallySpecifiedAs
91+ : manual_config .originallySpecifiedAs };
9292}
9393
9494namespace internal
Original file line number Diff line number Diff line change @@ -1085,7 +1085,7 @@ void Series::initSeries(
10851085 }
10861086
10871087 series.iterations .linkHierarchy (writable);
1088- series.iterations .writable ().ownKeyWithinParent = " iterations " ;
1088+ series.iterations .writable ().ownKeyWithinParent = " data " ;
10891089 series.m_rankTable .m_attributable .linkHierarchy (writable);
10901090
10911091 series.m_name = input->name ;
Original file line number Diff line number Diff line change @@ -195,17 +195,14 @@ std::string Attributable::MyPath::openPMDPath() const
195195{
196196 if (group.empty ())
197197 {
198- return std::string ();
198+ return std::string (" / " );
199199 }
200200 else
201201 {
202202 std::stringstream res;
203- auto it = group.begin ();
204- auto end = group.end ();
205- res << *it++;
206- for (; it != end; ++it)
203+ for (auto const &element : group)
207204 {
208- res << ' /' << *it ;
205+ res << ' /' << element ;
209206 }
210207 return res.str ();
211208 }
You can’t perform that action at this time.
0 commit comments