Skip to content

Commit

Permalink
Seems to work
Browse files Browse the repository at this point in the history
  • Loading branch information
franzpoeschel committed Jul 10, 2024
1 parent 1713314 commit 88c991a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
4 changes: 2 additions & 2 deletions src/IO/IOTask.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ json::ParsedConfig Parameter<Operation::CREATE_DATASET>::compileJSONConfig(
return json::ParsedConfig{
std::move(base_config.config),
(options.empty() || options == "{}")
? manual_config.originallySpecifiedAs
: base_config.originallySpecifiedAs};
? base_config.originallySpecifiedAs
: manual_config.originallySpecifiedAs};
}

namespace internal
Expand Down
2 changes: 1 addition & 1 deletion src/Series.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1085,7 +1085,7 @@ void Series::initSeries(
}

series.iterations.linkHierarchy(writable);
series.iterations.writable().ownKeyWithinParent = "iterations";
series.iterations.writable().ownKeyWithinParent = "data";
series.m_rankTable.m_attributable.linkHierarchy(writable);

series.m_name = input->name;
Expand Down
9 changes: 3 additions & 6 deletions src/backend/Attributable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -195,17 +195,14 @@ std::string Attributable::MyPath::openPMDPath() const
{
if (group.empty())
{
return std::string();
return std::string("/");
}
else
{
std::stringstream res;
auto it = group.begin();
auto end = group.end();
res << *it++;
for (; it != end; ++it)
for (auto const &element : group)
{
res << '/' << *it;
res << '/' << element;
}
return res.str();
}
Expand Down

0 comments on commit 88c991a

Please sign in to comment.