You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that Cp/Ct surface data that was introduced in #832 is not correctly installed from PyPI. For example, automated tests in FLASC are failing because this data is missing.
Possibly, we need to add the turbine_library/demo_cp_ct_surfaces/ data to the [tool.setuptools.package-data] section of the pyproject.toml?
Steps to reproduce
Create a new conda environment, pip install FLORIS, and try to instantiate a FlorisModel
FileNotFoundError: [Errno 2] No such file or directory: '/opt/miniconda3/envs/temp/lib/python3.13/site-packages/floris/turbine_library/demo_cp_ct_surfaces/nrel_5MW_demo_cp_ct_surface.npz'
Notes
I think this should not affect users that clone directly from github; just those installing Floris from PyPI. Current workaround is to specify pip install floris==4.3 to stay on the previous Floris version before the bug was introduced.
The text was updated successfully, but these errors were encountered:
It appears that Cp/Ct surface data that was introduced in #832 is not correctly installed from PyPI. For example, automated tests in FLASC are failing because this data is missing.
Possibly, we need to add the turbine_library/demo_cp_ct_surfaces/ data to the
[tool.setuptools.package-data]
section of the pyproject.toml?Steps to reproduce
Create a new conda environment, pip install FLORIS, and try to instantiate a
FlorisModel
Then, in a python terminal with the
temp
environment activatedThis causes an error:
Notes
I think this should not affect users that clone directly from github; just those installing Floris from PyPI. Current workaround is to specify
pip install floris==4.3
to stay on the previous Floris version before the bug was introduced.The text was updated successfully, but these errors were encountered: