[gmx-users] g_covar xpm writing (Re: gromacs problem solved)

Anton Feenstra feenstra at chem.vu.nl
Tue Feb 25 14:19:47 CET 2003


Paul Barrett wrote:
> 
> Anton
> 
> perhaps you recall the thread below. You asked me to let you know if I
> fixed it and how.
> 
> I have fixed it by direct editing of the colour map in the xpm file.
> 
> The error was in the latter colurs in the map that had nonsense codes,
> e.g.the last three in this excerpt.
> 
> "}  c #FF0C0C " /* "0.0377" */,
> "|  c #FF0808 " /* "0.0383" */,
> ";  c #FF0404 " /* "0.0389" */,
> ":  c #FF0000 " /* "0.0395" */,
> "'  c #FFFFFFFFFDFFFFFFFD " /* "0.0401" */,
> ",  c #FFFFFFFFF9FFFFFFF9 " /* "0.0408" */,
> "<  c #FFFFFFFFF5FFFFFFF5 " /* "0.0414" */,
> 
> I manually changed them to 6 digit hex codes and the file now works.

Yes. That would seem to be the problem. The question now remains,
what the cause of it could be...  It looks like a negative number
converted to hex, i.e. a stupid bug somewhere.

-- 
Groetjes,

Anton
 _____________ _______________________________________________________
|             |                                                       |
|  _   _  ___,| K. Anton Feenstra                                     |
| / \ / \'| | | Dept. of Pharmacochem. - Vrije Universiteit Amsterdam |
|(   |   )| | | De Boelelaan 1083 - 1081 HV Amsterdam - Netherlands   |
| \_/ \_/ | | | Room P275  Tel: +31 20 44 47608  Fax: +31 20 44 47610 |
|             | Feenstra at chem.vu.nl - www.chem.vu.nl/~feenstra/       |
|             | "Ease Myself Into the Body Bag" (P.J. Harvey)         |
|_____________|_______________________________________________________|



More information about the gromacs.org_gmx-users mailing list