[gmx-developers] Using xdrfile_close in libxdrfile

David van der Spoel spoel at xray.bmc.uu.se
Fri Mar 27 15:54:41 CET 2009


Ran Friedman wrote:
> Thanks a lot for the prompt reply and fix!
> The test runs fine now. I still experience some issues with close_xdr,
> but I'll have to make sure that it's not my code who's doing something
> nasty. I'll report back to the list if I find anything.
> 
Could also be a bug in the documentation, so please let me know what you 
find. Once this works for a few people, we'll release it under a 
non-restrictive licens for inclusion in other programs (e.g. pymol, jmol).

> Ran.
>> Hi Ran,
>>
>> thanks for testing this!
>> I fixed this code, by returning en exdrENDOFFILE instead, so please
>> test for this. I've also updated the test such that it does not assume
>> there are a certain number of frames in the file.
>>
>> Please update your cvs and try again.
> 
> _______________________________________________
> gmx-developers mailing list
> gmx-developers at gromacs.org
> http://www.gromacs.org/mailman/listinfo/gmx-developers
> Please don't post (un)subscribe requests to the list. Use the 
> www interface or send it to gmx-developers-request at gromacs.org.


-- 
David van der Spoel, Ph.D., Professor of Biology
Molec. Biophys. group, Dept. of Cell & Molec. Biol., Uppsala University.
Box 596, 75124 Uppsala, Sweden. Phone:	+46184714205. Fax: +4618511755.
spoel at xray.bmc.uu.se	spoel at gromacs.org   http://folding.bmc.uu.se



More information about the gromacs.org_gmx-developers mailing list