From 1c136653da2a89c69e5f64101eae92b3faaed260 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Mon, 8 Apr 2024 14:59:02 +0200 Subject: Fix FIG completeness calculation, add length histogram --- src/utils.cpp | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) (limited to 'src/utils.cpp') diff --git a/src/utils.cpp b/src/utils.cpp index e7420bd..6707b90 100644 --- a/src/utils.cpp +++ b/src/utils.cpp @@ -160,7 +160,7 @@ void printbuf(const std::string& header, const std::string& desc, const std::string& value) { - display_settings_t disp(true, indent); + display_settings_t disp(verbosity > 1, indent); printyaml(header, disp, buffer, size, desc, value); } @@ -171,15 +171,7 @@ void printbuf(const string& header, const std::string& desc, const std::string& value) { - display_settings_t d = disp; - d.print = (verbosity > 0); - printyaml(header, d, buffer, size, desc, value); -} - -void printbuf(const std::string& header, int indent) -{ - display_settings_t disp(true, indent); - return printyaml(header, disp); + printyaml(header, disp, buffer, size, desc, value); } void printfig(const string& header, @@ -221,12 +213,6 @@ void printinfo(const string &header, } } -void printinfo(const std::string &header, int min_verb) -{ - const display_settings_t disp(true, 0); - printinfo(header, min_verb); -} - void printsequencestart(int indent) { for (int i = 0; i < indent; i++) { -- cgit v1.2.3