Skip to content

Adapted code to the new numpy version

Luis Aleixo requested to merge feature/numpy_updates into master

The most recent numpy version was causing mypy errors from the code when running the pipeline.

This MR solves these errors by adapting the code on:

  • models.py when using a piecewise constant model on SARSCoV2(Virus) halflife method.
  • expert.py when using the P(I) and R0 values on strings.

setup.py is now updated to consider the numpy's most recent version.

Closes https://gitlab.cern.ch/cara/cara/-/issues/233

Edited by Luis Aleixo

Merge request reports