Skip to content

Commit

Permalink
Remove unused option.
Browse files Browse the repository at this point in the history
  • Loading branch information
connormanning committed Aug 29, 2023
1 parent d218f6f commit eb60ba2
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 20 deletions.
9 changes: 0 additions & 9 deletions app/build.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -183,15 +183,6 @@ void Build::addArgs()
"logging (default: 10).",
[this](json j) { m_json["laz_14"] = extract(j); });

m_ap.add(
"--noSchemaStats",
"Skip detailed dimension statistics (for subset builds only).",
[this](json j)
{
checkEmpty(j);
m_json["withSchemaStats"] = false;
});

addArbiter();
}

Expand Down
8 changes: 2 additions & 6 deletions entwine/types/build-parameters.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ struct BuildParameters
uint64_t progressInterval,
uint64_t hierarchyStep,
bool verbose = true,
bool laz_14 = false,
bool withSchemaStats = true)
bool laz_14 = false)
: minNodeSize(minNodeSize)
, maxNodeSize(maxNodeSize)
, cacheSize(cacheSize)
Expand All @@ -40,7 +39,6 @@ struct BuildParameters
, hierarchyStep(hierarchyStep)
, verbose(verbose)
, laz_14(laz_14)
, withSchemaStats(withSchemaStats)
{ }
BuildParameters(uint64_t minNodeSize, uint64_t maxNodeSize)
: minNodeSize(minNodeSize)
Expand All @@ -56,7 +54,6 @@ struct BuildParameters
uint64_t hierarchyStep = 0;
bool verbose = true;
bool laz_14 = false;
bool withSchemaStats = true;
};

inline void to_json(json& j, const BuildParameters& p)
Expand All @@ -66,8 +63,7 @@ inline void to_json(json& j, const BuildParameters& p)
{ "version", currentEntwineVersion() },
{ "minNodeSize", p.minNodeSize },
{ "maxNodeSize", p.maxNodeSize },
{ "laz_14", p.laz_14 },
{ "withSchemaStats", p.withSchemaStats }
{ "laz_14", p.laz_14 }
};
if (p.hierarchyStep) j.update({ { "hierarchyStep", p.hierarchyStep } });
}
Expand Down
4 changes: 0 additions & 4 deletions entwine/util/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -241,10 +241,6 @@ bool getStats(const json& j) { return j.value("stats", true); }
bool getForce(const json& j) { return j.value("force", false); }
bool getAbsolute(const json& j) { return j.value("absolute", false); }
bool getAllowOriginId(const json& j) { return j.value("allowOriginId", true); }
bool getWithSchemaStats(const json& j)
{
return j.value("withSchemaStats", true);
}

uint64_t getSpan(const json& j)
{
Expand Down
1 change: 0 additions & 1 deletion entwine/util/config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ bool getStats(const json& j);
bool getForce(const json& j);
bool getAbsolute(const json& j);
bool getAllowOriginId(const json& j);
bool getWithSchemaStats(const json& j);

uint64_t getSpan(const json& j);
uint64_t getMinNodeSize(const json& j);
Expand Down

0 comments on commit eb60ba2

Please sign in to comment.