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

fix: replace deprecated jax.numpy.trapz #15

Merged
merged 2 commits into from
Jun 1, 2024
Merged

Commits on Mar 14, 2024

  1. fix: replace deprecated jax.numpy.trapz

    Apparently in the 0.4.16 JAX release, there were several deprecations
    following NEP52
    (https://numpy.org/neps/nep-0052-python-api-cleanup.html)
    One of those was jax.numpy.trapz. Instead we are meant to use
    jax.scipy.integrate.trapozoid.
    
    The C. Elegans code used trapz so it is not running on the current
    version.
    alonfnt committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    75bddf5 View commit details
    Browse the repository at this point in the history
  2. build: fix packages versions and scikit-version

    Packages requiere newer Python versions than 3.8.
    But some packages are old and use deprecated features (scikit-video),
    so I added a quick fix. Ideally I fix it at some point.
    Some versions on requirements are also more clearly specified, as there
    are other deprecations.
    alonfnt committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    16a6c38 View commit details
    Browse the repository at this point in the history