Skip to content

Commit

Permalink
fix notebooks (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
jvanhoefer authored Mar 7, 2021
1 parent fa62bc2 commit 1c1d234
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@
" \n",
" model.add_ode(state_id = f\"x_{r}_{p}\", \n",
" right_hand_side=rhs,\n",
" initial_value=poisson.pmf(r, lambda_r)*poisson.pmf(p, lambda_p))\n",
" #convert from np.float to float\n",
" initial_value=float(poisson.pmf(r, lambda_r)*poisson.pmf(p, lambda_p))\n",
" )\n",
"\n",
"model.write_to_sbml('gene_expression.xml', overwrite=True)"
]
Expand Down
Loading

0 comments on commit 1c1d234

Please sign in to comment.