Skip to content

Numpy deprecation warnings #166

@jeromekelleher

Description

@jeromekelleher

Getting these in CI:

tests/test_cli.py: 8 warnings
36
tests/test_vcf.py: 38 warnings
37
tests/test_vcf_examples.py: 1365 warnings
38
  /home/runner/work/bio2zarr/bio2zarr/bio2zarr/vcf.py:386: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
39
    buff[j] = x

Should be an easy fix

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions