Skip to content
Browse files

Write record without crashing on missing GT

  • Loading branch information...
1 parent 2a728f4 commit a2a1a8e3c86dc27ab54029257bbe823c8c8ba03d @martijnvermaat martijnvermaat committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 vcf/
2 vcf/
@@ -591,7 +591,7 @@ def _format_info(self, info):
return ';'.join([self._stringify_pair(x,y) for x, y in info.iteritems()])
def _format_sample(self, fmt, sample):
- if is None:
+ if getattr(, 'GT', None) is None:
return "./."
return ':'.join([self._stringify(x) for x in])

0 comments on commit a2a1a8e

Please sign in to comment.
Something went wrong with that request. Please try again.