Commit c6fc1e34 by Chloe Dequeker

modification output : adding quotes around values (in case of blank chain, this can be detected)

parent b94bacf5
......@@ -173,11 +173,11 @@ void getInterface(struct pdb_values* pdbR, struct pdb_values* pdbL, int numConf)
for(i=0;i<nbCandL;i++){
if(t_candidateL[i]->isCandidate == 1)
fprintf(outputFile_lig,"%s %s %c ",t_candidateL[i]->resName,t_candidateL[i]->idRes,t_candidateL[i]->chain);
fprintf(outputFile_lig,"'%s' '%s' '%c' ",t_candidateL[i]->resName,t_candidateL[i]->idRes,t_candidateL[i]->chain);
}
for(i=0;i<nbCandR;i++){
if(t_candidateR[i]->isCandidate == 1)
fprintf(outputFile_rec,"%s %s %c ",t_candidateR[i]->resName,t_candidateR[i]->idRes,t_candidateR[i]->chain);
fprintf(outputFile_rec,"'%s' '%s' '%c' ",t_candidateR[i]->resName,t_candidateR[i]->idRes,t_candidateR[i]->chain);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment