Skip to content

Commit

Permalink
Remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
robomics committed Nov 9, 2024
1 parent 2cc744a commit 668f82c
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions src/include/hictkpy/file.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,38 +4,15 @@

#pragma once

#include <cstdint>
#include <filesystem>
#include <hictk/file.hpp>
#include <optional>
#include <string>
#include <string_view>
#include <vector>

#include "hictkpy/nanobind.hpp"
#include "hictkpy/pixel_selector.hpp"

namespace hictkpy::file {
void ctor(hictk::File *fp, const std::filesystem::path &path,
std::optional<std::int32_t> resolution, std::string_view matrix_type,
std::string_view matrix_unit);

[[nodiscard]] std::string repr(const hictk::File &f);

[[nodiscard]] bool is_cooler(const std::filesystem::path &uri);
[[nodiscard]] bool is_hic(const std::filesystem::path &uri);

[[nodiscard]] hictkpy::PixelSelector fetch(const hictk::File &f, std::string_view range1,
std::string_view range2, std::string_view normalization,
std::string_view count_type, bool join,
std::string_view query_type);

[[nodiscard]] nanobind::dict attributes(const hictk::File &f);

[[nodiscard]] std::vector<std::string> avail_normalizations(const hictk::File &f);
[[nodiscard]] std::vector<double> weights(const hictk::File &f, std::string_view normalization,
bool divisive = true);

void declare_file_class(nanobind::module_ &m);

} // namespace hictkpy::file

0 comments on commit 668f82c

Please sign in to comment.