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
While trying to run a Tau-Leaping algorithm I found some confusing error message. In core.model.py line 1166 and 1167 the programm tests whether C++ or/and Numpy are installed.
if not can_use_cpp and can_use_numpy:
raise ModelError("Please install C++ or Numpy to use GillesPy2 solvers.")
The error message reads as if it is sufficient to have either C++ or Numpy installed and one does not need both, since the program selects the solver accordingly.
But the if clause is written in a way that the error is raised unless one has installed C++.
Hence, for me the if-clause is not matching the error message. And if I understood the rest of the code correctly the error message is correct and one should be able to run the programm without having C++ installed. But then one ends up getting this error because of the misstated if-clause.
The text was updated successfully, but these errors were encountered:
Thanks.
But is it possible to use gillespy2 just havingNumPy installed and not C++?
Because that is what I was trying and it did not work, but I got that error message all the time, which states that it should work solely with NumPy.
While trying to run a Tau-Leaping algorithm I found some confusing error message. In
core.model.py
line 1166 and 1167 the programm tests whether C++ or/and Numpy are installed.The error message reads as if it is sufficient to have either C++ or Numpy installed and one does not need both, since the program selects the solver accordingly.
But the if clause is written in a way that the error is raised unless one has installed C++.
Hence, for me the if-clause is not matching the error message. And if I understood the rest of the code correctly the error message is correct and one should be able to run the programm without having C++ installed. But then one ends up getting this error because of the misstated if-clause.
The text was updated successfully, but these errors were encountered: