jamescasbon/PyVCF — pull request #84 by martijnvermaat (2013-01-10 15:45:11+00:00)
Title: Correctly write meta lines with dictionary value

Write meta lines with a dictionary-like value as

##meta=

instead of as the Python dictionary string representation. This is a
fix for jamescasbon#83 and a generalization of jamescasbon#81. A
regression compared to jamescasbon#81 is that the order of fields in
a `contig` line is no longer defined.

The implementation still feels a bit hackish and there are probably other unknown cases not handled properly, but this should fix a bunch.