-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
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
Example rework #737
Example rework #737
Conversation
Updated Example folder. Example folder much much easier to navigate and understand
Changed all instances of .append in os path to .insert at position 1. Changed as many instances of "solver =" to "algorithm = "
Got rid of deprecated or removed functions calls. Model is precompiled on time comparisons to prevent massive performance hit due to running make each run. Light edits throughout examples folder as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove all un-used solver imports and commented code
Dask worker space directory shouldn't be pushed up to github.
GillesPy2_photosynthesis_ex.pdf contians an image with a simulation error.
CLE_examples_convergence.ipynb
- Replace
solver=SSACSolver
withalgorithm=SSA
- Replace
solver=ODECSolver
withalgorithm=ODE
- Reference to
BasicTauHybridSolver
in code block 1. - Update the note in code block 1 to include
TauHybridCSolver
as a viable solver for events.
Run GillesPy2 Simulations in Parallel.ipynb
- Notebook shouldn't contain a port warning.
- Replace deprecated
plot_std_dev_range
withplot_mean_stdev
.
- Download link for sbml file is broken. The correct link is
https://www.ebi.ac.uk/biomodels/model/download/BIOMD0000000028.2?filename=BIOMD0000000028_url.xml
TauHybridCSolver
is missing from the notebook docs.- The final plot cell contains a simulation error.
hybrid_continuous_species.ipynb
- Reference to
Basic Tau Hybrid Solver
in notebook header. - Plot contains a simulation error.
- Remove deprecated function call
plot_std_dev_range
. - Remove deprecated function call
plotplotly_std_dev_range
.
- Remove the incorrect comment:
#Default solver for model.run() is the VariableSSACSolver. For more information,
# checkout /examples/AdvancedFeatures/Variable_SSA_C_Example.ipynb
- Reference to
Basic Tau Leaping
in notebook header. - Reference to deprecated
show_labels
in notebook docs forRun Model and plot
.
- Replace
solver=SSACSolver
withalgorithm=SSA
. - Replace
solver=ODESolver
withalgorithm=ODE
.
TauSolverRunTimeComparison.ipynb
- initial_condition of
V
should be set ton
in for loop and should work with python and c solvers. - Instantiate
timing_data
as an empty dict.
- Needs to be updated to match the notebook or removed.
- Reference to deprecated
show_labels
in notebook docs forRun Model and plot
.
- Reference to deprecated
show_labels
in notebook docs forRun Model and plot
.
- Remove warnings import
- Remove cell with solver imports
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything looks good to go
Extensive update to entire examples folder to make it more beginner friendly. Also updated deprecated functions in results.py to correctly display a deprecation warning.