Skip to content

Commit

Permalink
Honor --tmp-dir when converting .[m]cool to .hic
Browse files Browse the repository at this point in the history
  • Loading branch information
robomics committed Oct 9, 2023
1 parent 6b3e618 commit ab62e38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hictk/convert/cool_to_hic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ static bool dump_weights(const ConvertConfig& c, const std::filesystem::path& we
void cool_to_hic(const ConvertConfig& c) {
std::ignore = find_java();

static const internal::TmpDir tmpdir{};
const internal::TmpDir tmpdir{c.tmp_dir / c.path_to_output.filename()};

const auto chrom_sizes = tmpdir() / "reference.chrom.sizes";
const auto pixels = [&]() {
Expand Down

0 comments on commit ab62e38

Please sign in to comment.