diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2024-04-08 14:59:02 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2024-04-08 14:59:02 +0200 |
commit | 1c136653da2a89c69e5f64101eae92b3faaed260 (patch) | |
tree | dfe39449204621c5e9981026159c1cd15b8c7b7e /src/utils.cpp | |
parent | 7c51df4e6f13b7c85300e2da2b9759adee671eae (diff) | |
download | etisnoop-1c136653da2a89c69e5f64101eae92b3faaed260.tar.gz etisnoop-1c136653da2a89c69e5f64101eae92b3faaed260.tar.bz2 etisnoop-1c136653da2a89c69e5f64101eae92b3faaed260.zip |
Fix FIG completeness calculation, add length histogramnext
Diffstat (limited to 'src/utils.cpp')
-rw-r--r-- | src/utils.cpp | 18 |
1 files changed, 2 insertions, 16 deletions
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++) { |