Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
jamshed committed Dec 5, 2022
2 parents abe687a + 2db0961 commit 013196d
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ cmake_minimum_required(VERSION 3.14)
# Name the project, its version, and languages used in it.
set(PROJECT_NAME cuttlefish)
project(${PROJECT_NAME}
VERSION 2.0.0
VERSION 2.1.1
LANGUAGES CXX C
)

Expand Down
2 changes: 1 addition & 1 deletion include/BBHash/BooPHF.h
Original file line number Diff line number Diff line change
Expand Up @@ -1021,7 +1021,7 @@ we need this 2-functors scheme because HashFunctors won't work with unordered_ma
}


uint64_t lookup(elem_t elem)
uint64_t lookup(const elem_t& elem)
{
if(! _built) return ULLONG_MAX;

Expand Down
5 changes: 5 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,11 @@ target_link_libraries(cfcore_static PRIVATE BZip2::BZip2)
# Link the cfcore_static library to the threads package in the platform.
target_link_libraries(cfcore_static PRIVATE ${CMAKE_THREAD_LIBS_INIT})

# when building on conda on OSX with clang, we apparently need to explicitly
# link the filesystem library, see (https://github.com/bioconda/bioconda-recipes/pull/37269/files)
if("$ENV{CF_INSTALL}" STREQUAL "conda" AND CMAKE_CXX_COMPILER_ID MATCHES "Clang")
target_link_libraries(cfcore_static PRIVATE c++experimental)
endif()

# Link the executable to the required libraries.
target_link_libraries(${PROJECT_NAME} PRIVATE cfcore_static)
Expand Down
4 changes: 4 additions & 0 deletions src/CdBG_GFA_Reduced_Writer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,11 @@ void CdBG<k>::write_sequence_tiling(Job_Queue<std::string, Oriented_Unitig>& job

// The sequence does not contain any unitig (possible if there's no valid k-mer in the sequence).
if(!left_unitig.is_valid())
{
remove_temp_files(job_queue.next_job_to_finish());
job_queue.finish_job();
continue;
}


// Write the path ID.
Expand Down

0 comments on commit 013196d

Please sign in to comment.