biosimulators / Biosimulators_utils

Utilities for building standardized command-line interfaces for biosimulation software packages
https://docs.biosimulators.org/Biosimulators_utils
MIT License
4 stars 6 forks source link

Biosimulators_utils is incompatible with numpy>=1.23.0 #115

Open CodeByDrescher opened 2 years ago

CodeByDrescher commented 2 years ago

According to https://github.com/numpy/numpy/pull/21029, Numpy no longer accepts non-tuple based indexing of nd-arrays.

The ReportReader at biosimulators_utils/report/io.py:271 uses this deprecated feature (Note: this may not be the only occurrence of this issue in the project):

data_set_results[i_data_set][data_set_slice]

where data_set_results is a ndarray of ndarrays of float64 data i_data_set is an int data_set_slice is a list of slice objects

Long term all instances of this issue should be patched out properly, but short term changing the requirement to numpy<=1.22.4 would, for example, help fix biosimulators_test_suite.