[med-svn] [gatb-core] 03/03: Fix some spelling issues
Andreas Tille
tille at debian.org
Thu Dec 14 08:59:07 UTC 2017
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository gatb-core.
commit e8e7b72dda8f873cdb9912eb9c902cf82ee9c781
Author: Andreas Tille <tille at debian.org>
Date: Thu Dec 14 09:37:51 2017 +0100
Fix some spelling issues
---
debian/patches/series | 1 +
debian/patches/spelling.patch | 62 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 63 insertions(+)
diff --git a/debian/patches/series b/debian/patches/series
index 63565fd..20a2787 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,3 +5,4 @@ fix_install_location.patch
set_soversion.patch
dynamic_linking_of_tools.patch
multiarch.patch
+spelling.patch
diff --git a/debian/patches/spelling.patch b/debian/patches/spelling.patch
new file mode 100644
index 0000000..b76eee3
--- /dev/null
+++ b/debian/patches/spelling.patch
@@ -0,0 +1,62 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Tue, 28 Nov 2017 10:37:22 +0100
+Description: Fix spelling issues
+
+--- a/gatb-core/src/gatb/tools/compression/DnaCoder.cpp
++++ b/gatb-core/src/gatb/tools/compression/DnaCoder.cpp
+@@ -647,7 +647,7 @@ void DnaEncoder::encodeAnchorRead(int an
+ //CompressionUtils::encodeNumeric(_rangeEncoder, _isPrevReadAnchorablePosModel, _isPrevReadAnchorablePos);
+ //}
+ //_prevAnchorAddress = anchorAddress;
+- //printf("anchor adress %i \n",anchorAddress);
++ //printf("anchor address %i \n",anchorAddress);
+
+
+ kmer_type anchor = _kmers[anchorPos];
+@@ -1491,7 +1491,7 @@ void DnaDecoder::decodeAnchorRead(){
+ #ifdef PRINT_DEBUG_DECODER
+ cout << "\t\t\tRead size: " << _readSize << endl;
+ cout << "\t\t\tAnchor pos: " << anchorPos << endl;
+- cout << "\t\t\tAnchor adress: " << anchorAddress << endl;
++ cout << "\t\t\tAnchor address: " << anchorAddress << endl;
+ cout << "\t\t\tAnchor: " << anchor.toString(_kmerSize) << endl;
+ #endif
+
+--- a/gatb-core/src/gatb/tools/compression/Leon.cpp
++++ b/gatb-core/src/gatb/tools/compression/Leon.cpp
+@@ -996,7 +996,7 @@ void Leon::endDnaCompression(){
+
+ u_int64_t readsSize = _anchorAdressSize+_anchorPosSize+_readSizeSize+_bifurcationSize+_otherSize;
+ getInfo()->add(2, "Reads", "%.2f (%u)", ((readsSize*100) / (double)_compressedSize), readsSize);
+- getInfo()->add(3, "Anchor adress", "%.2f (%u)", ((_anchorAdressSize*100) / (double)_compressedSize), _anchorAdressSize);
++ getInfo()->add(3, "Anchor address", "%.2f (%u)", ((_anchorAdressSize*100) / (double)_compressedSize), _anchorAdressSize);
+ getInfo()->add(3, "Anchor pos", "%.2f (%u)", ((_anchorPosSize*100) / (double)_compressedSize), _anchorPosSize);
+ getInfo()->add(3, "Read size", "%.2f (%u)", ((_readSizeSize*100) / (double)_compressedSize), _readSizeSize);
+ getInfo()->add(3, "Bifurcation", "%.2f (%u)", ((_bifurcationSize*100) / (double)_compressedSize), _bifurcationSize);
+--- a/gatb-core/src/gatb/debruijn/impl/GraphUnitigs.cpp
++++ b/gatb-core/src/gatb/debruijn/impl/GraphUnitigs.cpp
+@@ -1276,13 +1276,13 @@ unsigned char GraphUnitigsTemplate<span>
+ template<size_t span>
+ void GraphUnitigsTemplate<span>::countNeighbors (const NodeGU &source, size_t &in, size_t &out) const
+ {
+- std::cout << "GraphU countNeighbors source,in,out not implememented" << std::endl;exit(1);
++ std::cout << "GraphU countNeighbors source,in,out not implemented" << std::endl;exit(1);
+ }
+
+ template<size_t span>
+ NodeGU GraphUnitigsTemplate<span>::getNode (const NodeGU& source, Direction dir, kmer::Nucleotide nt, bool& exists) const
+ {
+- std::cout << "GraphU getNode source,dir,nt,exists not implememented" << std::endl;exit(1);
++ std::cout << "GraphU getNode source,dir,nt,exists not implemented" << std::endl;exit(1);
+ return NodeGU();
+ }
+
+@@ -1899,7 +1899,7 @@ debugBuildNode(string startKmer) const
+ }
+ }
+ }
+- std::cout << "could not build node correspoding to kmer" << startKmer << ", it's not an unitig end." << std::endl;
++ std::cout << "could not build node corresponding to kmer" << startKmer << ", it's not an unitig end." << std::endl;
+ exit(1);
+ }
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/gatb-core.git
More information about the debian-med-commit
mailing list