Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated function: scipy.integrate has no attribute trapz #30

Open
SSL32081 opened this issue Dec 10, 2024 · 1 comment
Open

Deprecated function: scipy.integrate has no attribute trapz #30

SSL32081 opened this issue Dec 10, 2024 · 1 comment

Comments

@SSL32081
Copy link

It appears that since scipy 1.12.0, the trapz function, along with several other functions, is deprecated.

This causes an issue loading waveforms with one of the more recent scipy versions. In particular, when doing self.download_waveform_data(sim_name), it will eventually call scipy.integrate.trapz(...) / (tf - ti) in radiation.py.

I suppose either updating these scipy functions or restricting the scipy version will solve this issue.

@SSL32081
Copy link
Author

The PR #31 will resolve this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant