Skip to content

Commit

Permalink
Merge pull request #47 from philres/develop
Browse files Browse the repository at this point in the history
v2.0.8
  • Loading branch information
philres authored Aug 2, 2018
2 parents 1f36b23 + 3bf6aab commit 2d91b8e
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 15 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 2.8)
cmake_minimum_required(VERSION 2.8)
project(ngmlr)

include(CheckCXXCompilerFlag)
Expand All @@ -9,9 +9,9 @@ set( NGM_VERSION_MAJOR 0 )
set( NGM_VERSION_MINOR 2 )
IF(CMAKE_BUILD_TYPE STREQUAL "Debug")
message(STATUS "Building in debug mode!")
set( NGM_VERSION_BUILD 7-debug )
set( NGM_VERSION_BUILD 8-debug )
else()
set( NGM_VERSION_BUILD 7 )
set( NGM_VERSION_BUILD 8 )
ENDIF()

find_package( ZLIB REQUIRED )
Expand Down
5 changes: 1 addition & 4 deletions src/AlignmentBuffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2372,10 +2372,7 @@ void AlignmentBuffer::verbose(int const tabs, bool const newLine, char const * c
va_list args;

va_start(args, s);
if (args != 0)
vfprintf(stderr, s, args);
else
fprintf(stderr, "%s", s);
vfprintf(stderr, s, args);
va_end(args);

if(newLine) {
Expand Down
2 changes: 1 addition & 1 deletion src/MappedRead.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
/**
*
* Contact: [email protected]
*/

Expand Down
1 change: 0 additions & 1 deletion src/SAMWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ void SAMWriter::DoWriteProlog() {
version << VERSION_MAJOR << "." << VERSION_MINOR << "." << VERSION_BUILD;
Print("@PG\tID:ngmlr\tPN:nextgenmap-lr\tVN:%s\tCL:%s\n", version.str().c_str(), Config.getFullCommandLineCall());

rgId = Config.getRgId();
if (rgId != 0) {
Print("@RG\tID:%s", rgId);

Expand Down
6 changes: 1 addition & 5 deletions src/SAMWriter.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@ class SAMWriter: public GenericReadWriter {
SAMWriter(FileWriter * writer) :
GenericReadWriter() {

// if(Config.Exists(RG_ID)) {
// RG = Config.GetString(RG_ID);
// } else {
rgId = 0;
// }
rgId = Config.getRgId();
m_Writer = writer;
}

Expand Down
2 changes: 1 addition & 1 deletion src/Version.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#define VERSION_MAJOR "0"
#define VERSION_MINOR "2"
#define VERSION_BUILD "7"
#define VERSION_BUILD "8"

#endif // VERSION_H

0 comments on commit 2d91b8e

Please sign in to comment.