Closed eagmon closed 1 year ago
The newer versions of NumPy have deprecated the ability to use a slice object as an index, which breaks the code at these lines: https://github.com/biosimulators/Biosimulators_utils/blob/9355badea9324b57a23330b57becf85fa2a37ace/biosimulators_utils/report/io.py#L270-L271
slice
This is the resulting error message:
IndexError: only integers, slices (`:`), ellipsis (`...`), numpy.newaxis (`None`) and integer or boolean arrays are valid indices
This code needs to be reworked to index into this results NumPy array with variable number of dimensions and index ranges.
results
The newer versions of NumPy have deprecated the ability to use a
slice
object as an index, which breaks the code at these lines: https://github.com/biosimulators/Biosimulators_utils/blob/9355badea9324b57a23330b57becf85fa2a37ace/biosimulators_utils/report/io.py#L270-L271This is the resulting error message:
This code needs to be reworked to index into this
results
NumPy array with variable number of dimensions and index ranges.