We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This might be the same issue as with #1042
import tellurium as te import roadrunner from roadrunner import RoadRunner
r = te.loada (''' $Xo -> S1; k1Xo; S1 -> S2; k2S1; S2 ->; k3*S2; Xo = 4; k1 = 0.5; k2 = 0.23; k3 = 0.56 ''')
sensSolver = r.getSensitivitySolver() time, sens, rownames, colnames = r.timeSeriesSensitivities(0, 10, 11, params=['k1'])
roadrunner.plotTimeSeriesSens(time, sens, rownames, colnames)
File "C:\Tellurium-Winpython-3.8\python-3.8.6.amd64\lib\site-packages\roadrunner\roadrunner.py", line 7354, in plotTimeSeriesSens ax[i, j].plot(time, df[(species, param)].to_numpy(), label=f"{species}:{param}")
IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed
The text was updated successfully, but these errors were encountered:
Fixed with #1049
Sorry, something went wrong.
luciansmith
CiaranWelsh
No branches or pull requests
This might be the same issue as with #1042
import tellurium as te
import roadrunner
from roadrunner import RoadRunner
r = te.loada ('''
$Xo -> S1; k1Xo;
S1 -> S2; k2S1;
S2 ->; k3*S2;
Xo = 4; k1 = 0.5; k2 = 0.23; k3 = 0.56
''')
sensSolver = r.getSensitivitySolver()
time, sens, rownames, colnames = r.timeSeriesSensitivities(0, 10, 11, params=['k1'])
This doesn't work, probably due to specifying one parameter:
roadrunner.plotTimeSeriesSens(time, sens, rownames, colnames)
File "C:\Tellurium-Winpython-3.8\python-3.8.6.amd64\lib\site-packages\roadrunner\roadrunner.py", line 7354, in plotTimeSeriesSens
ax[i, j].plot(time, df[(species, param)].to_numpy(), label=f"{species}:{param}")
IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed
The text was updated successfully, but these errors were encountered: