Package: kmc / 3.2.4+dfsg-1

spelling.patch Patch series | 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
Description: spelling patch
Author: Étienne Mollier <etienne.mollier@mailoo.org>
Forwarded: no
Last-Update: 2020-12-10
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/kmc_tools/kmc2_db_reader.h
+++ b/kmc_tools/kmc2_db_reader.h
@@ -1434,7 +1434,7 @@
 	my_fseek(kmc_pre, 4, SEEK_SET);
 	if (fread(LUTS, sizeof(uint64), lut_recs, kmc_pre) != lut_recs)
 	{
-		std::cerr << "Some error occured while reading LUTS from kmc2 prefix file \n";
+		std::cerr << "Some error occurred while reading LUTS from kmc2 prefix file \n";
 		exit(1);
 	}
 	fclose(kmc_pre);
@@ -1934,7 +1934,7 @@
 		db_reader_counters_only = std::make_unique<CKMC2DbReaderCountersOnly<SIZE>>(header, desc);
 		break;
 	default: //should never be here
-		std::cerr << "Error: unknow open mode \n";
+		std::cerr << "Error: unknown open mode \n";
 		exit(1);
 	}
 }
--- a/kmc_tools/parameters_parser.cpp
+++ b/kmc_tools/parameters_parser.cpp
@@ -149,7 +149,7 @@
 				config.filtering_params.input_file_type = CFilteringParams::file_type::fastq;
 				break;
 			default:
-				cerr << "Error: unknow parameter " << argv[pos - 1] << "\n";
+				cerr << "Error: unknown parameter " << argv[pos - 1] << "\n";
 				exit(1);
 				break;
 			}
@@ -219,7 +219,7 @@
 		}
 		else
 		{
-			cerr << "Warning: Unknow parameter for filter operation: " << argv[pos] << "\n";
+			cerr << "Warning: Unknown parameter for filter operation: " << argv[pos] << "\n";
 		}
 		++pos;
 	}
@@ -263,7 +263,7 @@
 		}
 		else
 		{
-			cerr << "Error: Unknow parameter: " << argv[pos];
+			cerr << "Error: Unknown parameter: " << argv[pos];
 			exit(1);
 		}
 	}
@@ -575,7 +575,7 @@
 		}
 		else
 		{
-			cerr << "Error: Unknow parameter: " << argv[pos];
+			cerr << "Error: Unknown parameter: " << argv[pos];
 			Usage();
 			exit(1);
 		}
@@ -635,7 +635,7 @@
 	}
 	else
 	{
-		cerr << "Error: Unknow mode: " << argv[pos] << "\n";
+		cerr << "Error: Unknown mode: " << argv[pos] << "\n";
 		Usage();
 		exit(1);
 	}
@@ -655,7 +655,7 @@
 		read_output_fastq_desc();
 		if (config.filtering_params.use_float_value && config.filtering_params.filter_mode != CFilteringParams::FilterMode::normal)
 		{
-			cerr << "Error: trim (-t) and soft mask (-hm) are not compatibile with float values of cut off (-ci -cx)\n";
+			cerr << "Error: trim (-t) and soft mask (-hm) are not compatible with float values of cut off (-ci -cx)\n";
 			exit(1);
 		}
 	}
@@ -954,4 +954,4 @@
 
 
 
-// ***** EOF
\ No newline at end of file
+// ***** EOF
--- a/kmc_tools/parser.cpp
+++ b/kmc_tools/parser.cpp
@@ -140,7 +140,7 @@
 					desc.cutoff_max = atoi(tmp.c_str() + 3);
 					continue;
 				}
-				std::cerr << "Error: Unknow parameter " << tmp << " for variable " << match[1] << ", line: "<< line_no <<"\n";
+				std::cerr << "Error: Unknown parameter " << tmp << " for variable " << match[1] << ", line: "<< line_no <<"\n";
 				exit(1);
 			}
 
@@ -232,7 +232,7 @@
 				}
 				continue;
 			}
-			std::cerr << "Error: Unknow parameter " << tmp << " for variable " << tmp << ", line: " << line_no << "\n";
+			std::cerr << "Error: Unknown parameter " << tmp << " for variable " << tmp << ", line: " << line_no << "\n";
 			exit(1);
 		}
 	}
@@ -253,4 +253,4 @@
 	}
 }
 
-// ***** EOF
\ No newline at end of file
+// ***** EOF
--- a/kmc_core/fastq_reader.cpp
+++ b/kmc_core/fastq_reader.cpp
@@ -388,7 +388,7 @@
 		else
 		{
 			std::ostringstream ostr;
-			ostr << "Error: should never be here, plase contact authors, CODE: FastqReader_" << __LINE__;
+			ostr << "Error: should never be here, please contact authors, CODE: FastqReader_" << __LINE__;
 			CCriticalErrorHandler::Inst().HandleCriticalError(ostr.str());
 		}
 	}
--- a/kmc_core/kb_completer.cpp
+++ b/kmc_core/kb_completer.cpp
@@ -104,7 +104,7 @@
 		else
 		{
 			std::ostringstream ostr;
-			ostr << "Error: not implemented, plase contact authors showing this message" << __FILE__ << "\t" << __LINE__;
+			ostr << "Error: not implemented, please contact authors showing this message" << __FILE__ << "\t" << __LINE__;
 			CCriticalErrorHandler::Inst().HandleCriticalError(ostr.str());
 		}
 	}
@@ -178,7 +178,7 @@
 			else
 			{
 				std::ostringstream ostr;
-				ostr << "Error: not implemented, plase contact authors showing this message" << __FILE__ << "\t" << __LINE__;
+				ostr << "Error: not implemented, please contact authors showing this message" << __FILE__ << "\t" << __LINE__;
 				CCriticalErrorHandler::Inst().HandleCriticalError(ostr.str());
 			}
 			
--- a/kmc_core/kb_completer.h
+++ b/kmc_core/kb_completer.h
@@ -387,7 +387,7 @@
 		return CompleteKFFFormat(result);
 	default:
 		std::ostringstream ostr;
-		ostr << "Error: not implemented, plase contact authors showing this message" << __FILE__ << "\t" << __LINE__;
+		ostr << "Error: not implemented, please contact authors showing this message" << __FILE__ << "\t" << __LINE__;
 		CCriticalErrorHandler::Inst().HandleCriticalError(ostr.str());
 	}
 	assert(false); //Should never be here
--- a/kmc_core/kb_sorter.h
+++ b/kmc_core/kb_sorter.h
@@ -1051,7 +1051,7 @@
 							else
 							{
 								std::ostringstream ostr;
-								ostr << "Error: not implemented, plase contact authors showing this message" << __FILE__ << "\t" << __LINE__;
+								ostr << "Error: not implemented, please contact authors showing this message" << __FILE__ << "\t" << __LINE__;
 								CCriticalErrorHandler::Inst().HandleCriticalError(ostr.str());
 							}
 						}
@@ -1096,7 +1096,7 @@
 					else
 					{
 						std::ostringstream ostr;
-						ostr << "Error: not implemented, plase contact authors showing this message" << __FILE__ << "\t" << __LINE__;
+						ostr << "Error: not implemented, please contact authors showing this message" << __FILE__ << "\t" << __LINE__;
 						CCriticalErrorHandler::Inst().HandleCriticalError(ostr.str());
 					}
 				}
@@ -1213,7 +1213,7 @@
 						else
 						{
 							std::ostringstream ostr;
-							ostr << "Error: not implemented, plase contact authors showing this message" << __FILE__ << "\t" << __LINE__;
+							ostr << "Error: not implemented, please contact authors showing this message" << __FILE__ << "\t" << __LINE__;
 							CCriticalErrorHandler::Inst().HandleCriticalError(ostr.str());
 						}
 					}
@@ -1259,7 +1259,7 @@
 				else
 				{
 					std::ostringstream ostr;
-					ostr << "Error: not implemented, plase contact authors showing this message" << __FILE__ << "\t" << __LINE__;
+					ostr << "Error: not implemented, please contact authors showing this message" << __FILE__ << "\t" << __LINE__;
 					CCriticalErrorHandler::Inst().HandleCriticalError(ostr.str());
 				}
 			}
--- a/kmc_core/kmc.h
+++ b/kmc_core/kmc.h
@@ -940,7 +940,7 @@
 	else
 	{
 		std::ostringstream ostr;
-		ostr << "Error: not implemented, plase contact authors showing this message" << __FILE__ << "\t" << __LINE__;
+		ostr << "Error: not implemented, please contact authors showing this message" << __FILE__ << "\t" << __LINE__;
 		CCriticalErrorHandler::Inst().HandleCriticalError(ostr.str());
 	}
 
@@ -1471,7 +1471,7 @@
 	else
 	{
 		std::ostringstream ostr;
-		ostr << "Error: not implemented, plase contact authors showing this message" << __FILE__ << "\t" << __LINE__;
+		ostr << "Error: not implemented, please contact authors showing this message" << __FILE__ << "\t" << __LINE__;
 		CCriticalErrorHandler::Inst().HandleCriticalError(ostr.str());
 	}
 
--- a/kmc_tools/kff_info_reader.cpp
+++ b/kmc_tools/kff_info_reader.cpp
@@ -34,7 +34,7 @@
 	marker[3] = '\0';
 	fread(marker, 1, 3, file);
 	if (strncmp(marker, "KFF", 3) != 0)
-		throw std::runtime_error("Error: missing KFF marker at the begining of file " + path);
+		throw std::runtime_error("Error: missing KFF marker at the beginning of file " + path);
 
 	my_fseek(file, -3, SEEK_END);
 	fread(marker, 1, 3, file);
@@ -300,4 +300,4 @@
 CKFFInfoReader::~CKFFInfoReader()
 {
 	fclose(file);
-}
\ No newline at end of file
+}
--- a/kmc_tools/kff_db_reader.h
+++ b/kmc_tools/kff_db_reader.h
@@ -49,7 +49,7 @@
 			db_reader_sequential = std::make_unique<CKFFDbReaderSeq<SIZE>>(header, desc);
 			break;		
 		default: //should never be here
-			std::cerr << "Error: unknow open mode \n";
+			std::cerr << "Error: unknown open mode \n";
 			exit(1);
 		}
 	}
@@ -1491,4 +1491,4 @@
 	}
 };
 
-#endif
\ No newline at end of file
+#endif
--- a/kmc_core/kxmer_set.h
+++ b/kmc_core/kxmer_set.h
@@ -463,7 +463,7 @@
 							else
 							{
 								std::ostringstream ostr;
-								ostr << "Error: not implemented, plase contact authors showing this message" << __FILE__ << "\t" << __LINE__;
+								ostr << "Error: not implemented, please contact authors showing this message" << __FILE__ << "\t" << __LINE__;
 								CCriticalErrorHandler::Inst().HandleCriticalError(ostr.str());
 							}
 						}
@@ -512,7 +512,7 @@
 					else
 					{
 						std::ostringstream ostr;
-						ostr << "Error: not implemented, plase contact authors showing this message" << __FILE__ << "\t" << __LINE__;
+						ostr << "Error: not implemented, please contact authors showing this message" << __FILE__ << "\t" << __LINE__;
 						CCriticalErrorHandler::Inst().HandleCriticalError(ostr.str());
 					}
 				}
@@ -693,4 +693,4 @@
 
 #endif
 
-// ***** EOF
\ No newline at end of file
+// ***** EOF