From eb60ba2e5d42d1224abff4a17e5298e1c710c9c2 Mon Sep 17 00:00:00 2001 From: Connor Manning Date: Tue, 29 Aug 2023 13:19:35 -0500 Subject: [PATCH] Remove unused option. --- app/build.cpp | 9 --------- entwine/types/build-parameters.hpp | 8 ++------ entwine/util/config.cpp | 4 ---- entwine/util/config.hpp | 1 - 4 files changed, 2 insertions(+), 20 deletions(-) diff --git a/app/build.cpp b/app/build.cpp index 744fb932..f264c4d1 100644 --- a/app/build.cpp +++ b/app/build.cpp @@ -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(); } diff --git a/entwine/types/build-parameters.hpp b/entwine/types/build-parameters.hpp index 4379dac0..75190c8a 100644 --- a/entwine/types/build-parameters.hpp +++ b/entwine/types/build-parameters.hpp @@ -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) @@ -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) @@ -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) @@ -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 } }); } diff --git a/entwine/util/config.cpp b/entwine/util/config.cpp index ff912fc3..172252df 100644 --- a/entwine/util/config.cpp +++ b/entwine/util/config.cpp @@ -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) { diff --git a/entwine/util/config.hpp b/entwine/util/config.hpp index d3420e37..4375562d 100644 --- a/entwine/util/config.hpp +++ b/entwine/util/config.hpp @@ -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);