def test_variants_exclude_fields():
    a = variants('fixture/sample.vcf', exclude_fields=['ID', 'FILTER'])
    assert 'CHROM' != a.dtype.names
    assert 'ID' not in a.dtype.names
    assert 'FILTER' not in a.dtype.names
dataset/ETHPy150Open alimanfoo/vcfnp/vcfnp/test/test_array.py/test_variants_exclude_fields/operator `in` -> `!=`