Skip to content

[Bug]: NumPy 2.0 #45

@frahimov

Description

@frahimov

System information

No response

Description of the Issue

Hello, I installed gwas-sumstats-tools in a conda environment. But I get the following error message when I run gwas_ssf.
(gwas-sumstats-tools) rahimfx1@aurora:~> gwas-ssf --help

Traceback (most recent call last):
File "/homes/rahimfx1/mambaforge/envs/gwas-sumstats-tools/bin/gwas-ssf", line 5, in
from gwas_sumstats_tools.cli import app
File "/homes/rahimfx1/mambaforge/envs/gwas-sumstats-tools/lib/python3.10/site-packages/gwas_sumstats_tools/cli.py", line 8, in
from gwas_sumstats_tools.validate import validate
File "/homes/rahimfx1/mambaforge/envs/gwas-sumstats-tools/lib/python3.10/site-packages/gwas_sumstats_tools/validate.py", line 5, in
from pandera import errors
File "/homes/rahimfx1/mambaforge/envs/gwas-sumstats-tools/lib/python3.10/site-packages/pandera/init.py", line 34, in
from pandera.engines.pandas_engine import (
File "/homes/rahimfx1/mambaforge/envs/gwas-sumstats-tools/lib/python3.10/site-packages/pandera/engines/pandas_engine.py", line 693, in
np.string_,
File "/homes/rahimfx1/mambaforge/envs/gwas-sumstats-tools/lib/python3.10/site-packages/numpy/init.py", line 400, in getattr
raise AttributeError(
AttributeError: np.string_ was removed in the NumPy 2.0 release. Use np.bytes_ instead.

Error Message

No response

Command used and terminal output

No response

First 10 Rows of the Input File

No response

Relevant files

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions