[gmx-developers] Re: g_covar xpm writing (Re: gromacs problem solved)
Anton Feenstra
feenstra at chem.vu.nl
Tue Feb 25 18:11:49 CET 2003
Anton Feenstra wrote:
> 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.
David, it seems you were the last to modify the write_xpm3 code
that g_covar calls. Could you perhaps re-check this?
--
Groetjes,
Anton
_____________ _______________________________________________________
| | |
| _ _ ___,| K. Anton Feenstra |
| / \ / \'| | | Dept. of Pharmacochem. - Vrije Universiteit Amsterdam |
|( | )| | | De Boelelaan 1083 - 1081 HV Amsterdam - Netherlands |
| \_/ \_/ | | | Tel: +31 20 44 47608 - Fax: +31 20 44 47610 |
| | Feenstra at chem.vu.nl - www.chem.vu.nl/~feenstra/ |
| | "If You See Me Getting High, Knock Me Down" |
| | (Red Hot Chili Peppers) |
|_____________|_______________________________________________________|
More information about the gromacs.org_gmx-developers
mailing list