Commits

Qian Zhu  committed 0cc6e9c

Remove comments

  • Participants
  • Parent commits 49b603a

Comments (0)

Files changed (2)

File src/seekcentral.cpp

 	utype dd, j;
 	utype l;
 
-	//estimate string length
-	/*size_t total_length = 0;
-	utype ii;
-	for(ii=0; ii<m_vecstrDatasets.size(); ii++)
-		total_length+=m_vecstrDatasets[ii].length()+1;
-	total_length*=m_searchdsetMap.size();
-	char *ss = new char[total_length]; //search dataset
-	char *pointer_ss = &ss[0];
-	*/
-
 	stringstream ss; //search dataset (new!)
 	stringstream sq; //query availability
 	stringstream aq; //query (new!)
 			si->GetNumSet()>=minGRequired){
 				if(isFirst){
 					isFirst = false;
-					//strcpy(pointer_ss, m_vecstrDatasets[i].c_str()); 
-					//pointer_ss+=m_vecstrDatasets[i].length();
 					ss << m_vecstrDatasets[i];
 				}else{
-					//strcpy(pointer_ss, (" " + m_vecstrDatasets[i]).c_str()); 
-					//pointer_ss+=m_vecstrDatasets[i].length()+1;
 					ss << " " << m_vecstrDatasets[i];
 				}
 			}
 
 		if(l!=m_searchdsetMap.size()-1){
 			ss << "|";
-			//strcpy(pointer_ss, "|\0");
-			//pointer_ss+=1;
 		}
 
 		//fprintf(stderr, "ss %s\n", ss.str().c_str());
 
 	string refinedQuery = aq.str();
 	string refinedSearchDataset = ss.str();
-	//string refinedSearchDataset = ss;
-	//delete[] ss;
-
 	string refinedGeneCount = sq.str();
 	if(m_bEnableNetwork){
 		CSeekNetwork::Send(m_iClient, refinedSearchDataset);

File src/seekreader.cpp

 
 	int ret; //system call returns
 
-	//fprintf(stderr, "Start reading average and presence files (quick)\n");
-	//ret = system("date +%s%N 1>&2");
-	//fprintf(stderr, "Done reading average and presence files (quick)\n");
-	//ret = system("date +%s%N 1>&2");
-
 	fprintf(stderr, "Initializing gene map\n");
 	//ret = system("date +%s%N 1>&2");
 	#pragma omp parallel for \