File: spelling.patch

package info (click to toggle)
gatb-core 1.4.1%2Bgit20181225.44d5a44%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 17,804 kB
  • sloc: cpp: 48,999; sh: 2,169; xml: 1,333; makefile: 35; python: 32
file content (62 lines) | stat: -rw-r--r-- 3,170 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
Author: Andreas Tille <tille@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
@@ -650,7 +650,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];
@@ -1494,7 +1494,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);
 }