Go to the documentation of this file.
144 Warning( "The world is not sphere-only");
153 fprintf(stderr, "Reading one sample from : %s\n", GetFileFullName(&fsamples));
158 Error( "Could not open the file to read the samples");
171 NEW(sample,nv, double);
176 Error( "Could not open the file to store the atom positions");
180 for(i=0;((!end)&&(i<nv));i++)
182 token=fscanf(fs, "%lf",&(sample[i]));
183 if ((token==EOF)||(token==0))
207 fprintf(stderr, "Use:\n");
208 fprintf(stderr, " cuiksamples2atoms <problem_name> <out_name>\n");
209 fprintf(stderr, " <problem_name> the prefix to define the world,\n");
210 fprintf(stderr, " .params and .samples files.\n");
211 fprintf(stderr, " <out_name> [optional] The output atom file.\n");
212 fprintf(stderr, "CAUTION: This only works for carefully defined worlds\n");
213 fprintf(stderr, " where the atoms are in the same order as in\n");
214 fprintf(stderr, " the PDB. This is NOT the case for automatically\n");
215 fprintf(stderr, " generated worlds (as those generated for protein loops)\n");
218 return(EXIT_SUCCESS);
|
Follow us!