arkottke / pyrotd

Python scripts to compute the rotated response spectrum.
MIT License
21 stars 14 forks source link

Dependency on numpy version #7

Closed krisvanneste closed 1 year ago

krisvanneste commented 1 year ago

Dear Albert,

In your recent commit "Add optimized approach", you replaced the "interpolation" argument of the numpy percentile function with the new "method" argument, which was introduced in numpy 1.22.0. Would you consider making pyrotd independent of the numpy version, by either:

krisvanneste commented 1 year ago

Thank you!

arkottke commented 1 year ago

No problem. Thanks for pointing out the problem. I ended up using: https://numpy.org/doc/stable/reference/generated/numpy.lib.NumpyVersion.html to test the version.

On Fri, Jun 30, 2023 at 9:45 AM krisvanneste @.***> wrote:

Thank you!

— Reply to this email directly, view it on GitHub https://github.com/arkottke/pyrotd/issues/7#issuecomment-1614912174, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAH4LMY7RMS3NPQ2FET5LCTXN37BVANCNFSM6AAAAAAZUCSN7A . You are receiving this because you modified the open/close state.Message ID: @.***>

krisvanneste commented 1 year ago

I will test it in the coming days.

krisvanneste commented 1 year ago

It works!