From d7c3b157964199d5b4861b97bfb40a9750b40867 Mon Sep 17 00:00:00 2001 From: Roberto Rossini <71787608+robomics@users.noreply.github.com> Date: Thu, 14 Dec 2023 20:53:08 +0100 Subject: [PATCH] Bugfix --- .clang-tidy | 2 ++ benchmark/fetch_and_sum/fetch_and_sum.cpp | 2 +- src/hictk/balance/balance.cpp | 2 +- src/hictk/dump/dump_common.cpp | 1 + src/hictk/include/hictk/tools/cli.hpp | 1 + src/hictk/validate/validate.cpp | 1 + src/libhictk/file/include/hictk/impl/file_impl.hpp | 2 +- 7 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.clang-tidy b/.clang-tidy index 016e969d..b084bf21 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -30,3 +30,5 @@ CheckOptions: value: '1' - key: cppcoreguidelines-macro-usage.AllowedRegexp value: 'DISABLE_WARNING_.*' + - key: misc-include-cleaner.IgnoreHeaders + value: 'fmt/.*' diff --git a/benchmark/fetch_and_sum/fetch_and_sum.cpp b/benchmark/fetch_and_sum/fetch_and_sum.cpp index 021a12f0..904db298 100644 --- a/benchmark/fetch_and_sum/fetch_and_sum.cpp +++ b/benchmark/fetch_and_sum/fetch_and_sum.cpp @@ -9,7 +9,7 @@ #include #include #include -#include +#include #include #include diff --git a/src/hictk/balance/balance.cpp b/src/hictk/balance/balance.cpp index 77babd87..1dd0a614 100644 --- a/src/hictk/balance/balance.cpp +++ b/src/hictk/balance/balance.cpp @@ -29,9 +29,9 @@ #include "hictk/cooler/group.hpp" #include "hictk/cooler/multires_cooler.hpp" #include "hictk/cooler/uri.hpp" -#include "hictk/cooler/utils.hpp" #include "hictk/file.hpp" #include "hictk/hic.hpp" +#include "hictk/hic/utils.hpp" #include "hictk/hic/validation.hpp" #include "hictk/tools/config.hpp" #include "hictk/tools/juicer_tools.hpp" diff --git a/src/hictk/dump/dump_common.cpp b/src/hictk/dump/dump_common.cpp index bafa1f30..d1e67662 100644 --- a/src/hictk/dump/dump_common.cpp +++ b/src/hictk/dump/dump_common.cpp @@ -16,6 +16,7 @@ #include "hictk/cooler.hpp" #include "hictk/file.hpp" #include "hictk/hic.hpp" +#include "hictk/hic/utils.hpp" #include "hictk/pixel.hpp" namespace hictk::tools { diff --git a/src/hictk/include/hictk/tools/cli.hpp b/src/hictk/include/hictk/tools/cli.hpp index 88a0968a..3c11ac0a 100644 --- a/src/hictk/include/hictk/tools/cli.hpp +++ b/src/hictk/include/hictk/tools/cli.hpp @@ -17,6 +17,7 @@ #include "config.hpp" #include "hictk/cooler.hpp" #include "hictk/cooler/validation.hpp" +#include "hictk/hic/utils.hpp" #include "hictk/hic/validation.hpp" #include "hictk/string_utils.hpp" diff --git a/src/hictk/validate/validate.cpp b/src/hictk/validate/validate.cpp index 46b3b123..0ef82732 100644 --- a/src/hictk/validate/validate.cpp +++ b/src/hictk/validate/validate.cpp @@ -19,6 +19,7 @@ #include "hictk/cooler/singlecell_cooler.hpp" #include "hictk/cooler/validation.hpp" #include "hictk/hic.hpp" +#include "hictk/hic/utils.hpp" #include "hictk/hic/validation.hpp" #include "hictk/tools/config.hpp" diff --git a/src/libhictk/file/include/hictk/impl/file_impl.hpp b/src/libhictk/file/include/hictk/impl/file_impl.hpp index b5375ac0..b43880c0 100644 --- a/src/libhictk/file/include/hictk/impl/file_impl.hpp +++ b/src/libhictk/file/include/hictk/impl/file_impl.hpp @@ -25,7 +25,7 @@ #include "hictk/cooler/validation.hpp" #include "hictk/hic.hpp" #include "hictk/hic/pixel_selector.hpp" -#include "hictk/hic/utils.hpp" +#include "hictk/hic/validation.hpp" #include "hictk/pixel.hpp" #include "hictk/reference.hpp"