jamescasbon / PyVCF

A Variant Call Format reader for Python.
http://pyvcf.readthedocs.org/en/latest/index.html
Other
404 stars 200 forks source link

usage example in README is outdated #310

Open zmiimz opened 5 years ago

zmiimz commented 5 years ago

import vcf vcf_reader = vcf.Reader(open('vcf/test/example-4.2.vcf', 'r')) for record in vcf_reader:
... print record
File "", line 2
print record
^
IndentationError: Missing parentheses in call to 'print'

python used:

python3 --version Python 3.4.6