We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eec8faf commit eb902ecCopy full SHA for eb902ec
vcztools/vcf_writer.py
@@ -392,9 +392,7 @@ def _generate_header(
392
)
393
394
# [1.4.7 Contig field format]
395
- contig_lengths = (
396
- ds.attrs["contig_lengths"] if "contig_lengths" in ds.attrs else None
397
- )
+ contig_lengths = ds["contig_length"] if "contig_length" in ds else None
398
for i, contig in enumerate(contigs):
399
if contig_lengths is None:
400
print(f"##contig=<ID={contig}>", file=output)
0 commit comments