@@ -245,16 +245,16 @@ int pairaln(int argc, const char **argv, const Command& command) {
245
245
output.reserve (100000 );
246
246
bool hasBacktrace = false ;
247
247
UniProtConverter converter;
248
+ unsigned int minResultDbKey = UINT_MAX;
248
249
Matcher::result_t emptyResult (UINT_MAX, 0 , 0 , 0 , 0 , 0 ,
249
- 0 , UINT_MAX, 0 , 0 , UINT_MAX, 0 , 0 , " " );
250
+ 0 , UINT_MAX, 0 , 0 , UINT_MAX, 0 , 0 , " 1M " );
250
251
#pragma omp for schedule(dynamic, 1)
251
252
for (size_t fileNumber = 0 ; fileNumber < fileToIds.size (); fileNumber++) {
252
253
char buffer[1024 + 32768 * 4 ];
253
254
findPair.clear ();
254
255
taxonToPair.clear ();
255
256
progress.updateProgress ();
256
257
257
- unsigned int minResultDbKey = UINT_MAX;
258
258
// find intersection between all proteins
259
259
for (size_t i = 0 ; i < fileToIds[fileNumber].size (); i++) {
260
260
result.clear ();
@@ -285,7 +285,7 @@ int pairaln(int argc, const char **argv, const Command& command) {
285
285
prevTaxon = taxon;
286
286
}
287
287
}
288
-
288
+ emptyResult. dbKey = minResultDbKey;
289
289
// fill taxonToPair vector
290
290
std::unordered_map<unsigned int , size_t >::iterator it;
291
291
for (it = findPair.begin (); it != findPair.end (); ++it) {
0 commit comments