From cc4cd1e6cb5b763ff4317e0a43b77f1a8e1e8c19 Mon Sep 17 00:00:00 2001 From: David van der Spoel Date: Thu, 27 Dec 2012 13:31:52 +0100 Subject: [PATCH] Fixes #994 confusion in atomprop. The atomprop code modified the contents of the atom database files by turning everything into uppercase. This caused confusion between elements and protein or nucleic acid atom names. Change-Id: Ia0ac4636471b7051bf38a714ed16e299bf3d64ab --- src/gmxlib/atomprop.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/gmxlib/atomprop.c b/src/gmxlib/atomprop.c index 6c3d5a5bc0..9c2618b6e6 100644 --- a/src/gmxlib/atomprop.c +++ b/src/gmxlib/atomprop.c @@ -161,8 +161,6 @@ static void add_prop(aprop_t *ap,gmx_residuetype_t restype, ap->bAvail[i] = FALSE; } } - upstring(atomnm); - upstring(resnm); ap->atomnm[ap->nprop] = strdup(atomnm); ap->resnm[ap->nprop] = strdup(resnm); j = ap->nprop; @@ -322,9 +320,7 @@ gmx_bool gmx_atomprop_query(gmx_atomprop_t aps, else { strncpy(atomname,atomnm,MAXQ-1); } - upstring(atomname); strncpy(resname,resnm,MAXQ-1); - upstring(resname); j = get_prop_index(&(ap->prop[eprop]),ap->restype,resname, atomname,&bExact); -- 2.22.0