From ed89a2b878a98634ad5b3c605892d559a2d26336 Mon Sep 17 00:00:00 2001 From: Shifu Chen Date: Wed, 12 Apr 2017 15:53:29 +0800 Subject: [PATCH] better and more informative output --- src/common.h | 2 +- src/htmlreporter.cpp | 11 ++++++----- src/multihtmlreporter.cpp | 10 ++++++++++ src/mutation.cpp | 1 - src/pescanner.cpp | 5 +++++ src/sescanner.cpp | 5 +++++ 6 files changed, 27 insertions(+), 7 deletions(-) diff --git a/src/common.h b/src/common.h index 40fe41b..d0d5817 100644 --- a/src/common.h +++ b/src/common.h @@ -1,7 +1,7 @@ #ifndef COMMON_H #define COMMON_H -#define MUTSCAN_VER "1.11.0" +#define MUTSCAN_VER "1.11.1" typedef long int64; typedef unsigned long uint64; diff --git a/src/htmlreporter.cpp b/src/htmlreporter.cpp index 75d0ab2..490cfe8 100644 --- a/src/htmlreporter.cpp +++ b/src/htmlreporter.cpp @@ -30,12 +30,13 @@ void HtmlReporter::printHelper() { mFile << ""; mFile << "
Print
"; mFile << "

Helpful tips:

"; } diff --git a/src/multihtmlreporter.cpp b/src/multihtmlreporter.cpp index 7fe4496..de69bd9 100644 --- a/src/multihtmlreporter.cpp +++ b/src/multihtmlreporter.cpp @@ -64,12 +64,14 @@ void MultiHtmlReporter::printMainPage() { } void MultiHtmlReporter::printAllChromosomeLink(ofstream& file) { + bool found = false; map::iterator iter; file << ""; } void MultiHtmlReporter::printChrLink(ofstream& file, string chr) { + bool found = false; for(int m=0; m matches = mMutationMatches[m]; if(matches.size()>=GlobalSettings::minReadSupport) { + found = true; if(chr == mMutationList[m].mChr) { string filename = chr + "/" + to_string(m) + ".html"; file << "