Commit ca558694 by Chloe Dequeker

Bug : no output and specific conformation

parent 200ae057
......@@ -272,11 +272,13 @@ int main(int argc, char** argv){
dalpha,dbeta,dgamma,dock_res,target_conf);
/* Write the number of the conformation and get the interface */
if(!doNotOutputINT){
fprintf(outputFile_lig,"%d ",i);
fprintf(outputFile_rec,"%d ",i);
getInterface(pdbR,newPDB);
fprintf(outputFile_lig,"\n");
fprintf(outputFile_rec,"\n");
}
if(constructPDB){
writePDB(newPDB, ligand,target_conf);
......
......@@ -188,7 +188,6 @@ struct argLine* parseLineOfArgument(int argc, char** argv){
perror("fopen");
exit(EXIT_FAILURE);
}
outputFile_lig = fopen(buf,"w");
}else if(complexPDB){
sprintf(buf,"%s/%s-%s_rec_0_dockinter.txt",outputDir,receptor,ligand);
outputFile_rec = fopen(buf,"w");
......@@ -203,7 +202,6 @@ struct argLine* parseLineOfArgument(int argc, char** argv){
perror("fopen");
exit(EXIT_FAILURE);
}
outputFile_lig = fopen(buf,"w");
}else{
sprintf(buf,"%s/%s-%s_rec_dockinter.txt",outputDir,receptor,ligand);
outputFile_rec = fopen(buf,"w");
......@@ -218,7 +216,6 @@ struct argLine* parseLineOfArgument(int argc, char** argv){
perror("fopen");
exit(EXIT_FAILURE);
}
outputFile_lig = fopen(buf,"w");
}
}
......
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