matthiaskoenig / fbc_curation

FROG analysis in python for the reproducibility of FBC models
https://runfrog.de
GNU Lesser General Public License v3.0
8 stars 3 forks source link

`runfrog` does not work via github actions or local installation #98

Open famosab opened 1 year ago

famosab commented 1 year ago

To validate models that I am working on I created a small github actions script based on this tool. While installation works as expected, I am not able to feed a specific numpy version to the installer within the gh action. The setup from fbc-curation v0.2.3 will lead to numpy v1.24.2. With that version I run into the following error when executing runfrog on my model:

AttributeError: module 'numpy' has no attribute 'float'.
`np.float` was a deprecated alias for the builtin `float`. To avoid this error in existing code, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here.

I tried to explicitly install numpy v1.19.5 but that version gets uninstalled as described above.

The same error occured in a local conda environment where I tried to install fbc-curation to and then use runfrog.


What worked for me is reverting the pandas version to 1.4.4 and the numpy version to 1.19.5 after installation of fbc-curation.

matthiaskoenig commented 1 year ago

@famosab Thanks for the report. I will address this until the weekend.