Commit 25976963 by Chloe Dequeker

forgot to put fopen in param.c

parent 3f2e07b6
...@@ -164,6 +164,7 @@ struct argLine* parseLineOfArgument(int argc, char** argv){ ...@@ -164,6 +164,7 @@ struct argLine* parseLineOfArgument(int argc, char** argv){
} }
sprintf(buf,"%s/%s-%s_lig_%d_dockinter.txt",outputDir,receptor,ligand,target_conf); sprintf(buf,"%s/%s-%s_lig_%d_dockinter.txt",outputDir,receptor,ligand,target_conf);
outputFile_lig = fopen(buf,"w");
if(outputFile_lig == NULL){ if(outputFile_lig == NULL){
perror("fopen"); perror("fopen");
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
...@@ -178,6 +179,7 @@ struct argLine* parseLineOfArgument(int argc, char** argv){ ...@@ -178,6 +179,7 @@ struct argLine* parseLineOfArgument(int argc, char** argv){
} }
sprintf(buf,"%s/%s-%s_lig_dockinter.txt",outputDir,receptor,ligand); sprintf(buf,"%s/%s-%s_lig_dockinter.txt",outputDir,receptor,ligand);
outputFile_lig = fopen(buf,"w");
if(outputFile_lig == NULL){ if(outputFile_lig == NULL){
perror("fopen"); perror("fopen");
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
......
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