From ddab0002ccc90f663374e4582e7d586231389518 Mon Sep 17 00:00:00 2001 From: Edmund Miller Date: Thu, 7 Dec 2023 12:59:29 -0600 Subject: [PATCH] chore: Cut out deadcode --- src/include/align/Aligner.hpp | 2 -- src/include/map/ChainBuilder.hpp | 1 - src/lib/align/Aligner.cpp | 2 -- .../dragen/src/host/infra/linux/infra_linux_utils.cpp | 10 ---------- 4 files changed, 15 deletions(-) diff --git a/src/include/align/Aligner.hpp b/src/include/align/Aligner.hpp index 63cf18c..7a7ab31 100644 --- a/src/include/align/Aligner.hpp +++ b/src/include/align/Aligner.hpp @@ -141,8 +141,6 @@ class Aligner { const map::Mapper mapper_; const SimilarityScores similarity_; const ScoreType gapInit_; - // const ScoreType gapExtend_; - // const ScoreType unclipScore_; const ScoreType alnMinScore_; const int aln_cfg_mapq_min_len_; const int aln_cfg_unpaired_pen_; diff --git a/src/include/map/ChainBuilder.hpp b/src/include/map/ChainBuilder.hpp index c1a1326..ac14298 100644 --- a/src/include/map/ChainBuilder.hpp +++ b/src/include/map/ChainBuilder.hpp @@ -77,7 +77,6 @@ class ChainBuilder { size_t seedChainCount_; double chainFilterRatio_ = 2.0; double chainFilterConstant_ = 0.0; - // int numRandomSampleHits_ = 0; }; } // namespace map diff --git a/src/lib/align/Aligner.cpp b/src/lib/align/Aligner.cpp index 37185ef..89cb7ef 100644 --- a/src/lib/align/Aligner.cpp +++ b/src/lib/align/Aligner.cpp @@ -56,8 +56,6 @@ Aligner::Aligner( mapper_(&hashtable), similarity_(similarity), gapInit_(gapInit), - // gapExtend_(gapExtend), - // unclipScore_(unclipScore), alnMinScore_(alnMinScore), aln_cfg_mapq_min_len_(aln_cfg_mapq_min_len), aln_cfg_unpaired_pen_(aln_cfg_unpaired_pen), diff --git a/stubs/dragen/src/host/infra/linux/infra_linux_utils.cpp b/stubs/dragen/src/host/infra/linux/infra_linux_utils.cpp index f3ddc25..b63e21c 100644 --- a/stubs/dragen/src/host/infra/linux/infra_linux_utils.cpp +++ b/stubs/dragen/src/host/infra/linux/infra_linux_utils.cpp @@ -39,16 +39,6 @@ namespace infra { static std::string g_kernelVersionStr; static int g_kernelVersion; -// static constexpr int MKVER(const int major, const int minor, const int patch) -// { -// return major * 10000 + minor * 100 + patch; -// } - -// static constexpr int MKVER(const int major, const int minor) -// { -// return major * 10000 + minor * 100; -// } - //------------------------------------------------------------------------alain int GetDmiValue(const std::string& label, std::string& value) {