********>Bugfix 1: Author: Terry Lang Date: April 5, 2005 Program: dock Description: scaling vdw and es components of scoring function does not work Fix: make the following changes to the file src/score.cpp ------------------------------------------------------------------------- *** score.cpp 25 Mar 2005 18:50:48 -0000 1.1 --- score.cpp 5 Apr 2005 00:27:05 -0000 1.2 *************** *** 145,152 **** energy_score = 0; if(energy_score == 1) { ! vdw_scale = atoi(parm.query_param("vdw_scale","1").c_str()); ! es_scale = atoi(parm.query_param("es_scale","1").c_str()); file_prefix = parm.query_param("nrg_grid_prefix","grid"); use_score = true; } --- 145,152 ---- energy_score = 0; if(energy_score == 1) { ! vdw_scale = atof(parm.query_param("vdw_scale","1").c_str()); ! es_scale = atof(parm.query_param("es_scale","1").c_str()); file_prefix = parm.query_param("nrg_grid_prefix","grid"); use_score = true; } --------------------------------------------------------------------------