Commit 0a5534fb authored by HEMERY Mathieu's avatar HEMERY Mathieu
Browse files

Comment the examples of hybrid.pl to allow make to work (see later why it fails)

parent cacfa192
......@@ -17,6 +17,7 @@ commands = [
"add_reaction",
"add_reactions_from_ode",
"add_sbml",
"add_time_event",
"add_vertex",
"alias",
"bifurcations",
......@@ -87,6 +88,8 @@ commands = [
"generate_ctl",
"generate_ctl_not",
"generate_traces",
"hybrid_dynamic_simulation",
"hybrid_static_simulation",
"import_influences_from_ode_system",
"import_ode",
"import_reactions_from_graph",
......
......@@ -231,12 +231,13 @@ hybrid_static_simulation(ODEFilename, StochFilename, OutFilename, Volume, Time)
nb_delete(reactions),
retractall(reaction_kinetics(_,_)),
load_biocham(OutFilename),
format(" ~n If you want to choose which species are plot, please change the corresponding ~n line in the output file (by default out_static.bc in the biocham directory). ~n ~n",[]).
format(" ~n If you want to choose which species are plot, please change the corresponding ~n line in the output file (by default out_static.bc in the biocham directory). ~n ~n",[]),
!. % FIXME create a dubious choicepoint.
:- doc('\\begin{example}T7 model using hybrid static simulation:').
:- biocham_silent(clear_model).
:- biocham(hybrid_static_simulation('library:examples/hybrid/T7_input_ode.bc','library:examples/hybrid/T7_input_stoch.bc')).
:- doc('\\end{example}').
% :- doc('\\begin{example}T7 model using hybrid static simulation:').
% :- biocham_silent(clear_model).
% :- biocham(hybrid_static_simulation('library:examples/hybrid/T7_input_ode.bc','library:examples/hybrid/T7_input_stoch.bc')).
% :- doc('\\end{example}').
%===========================================================%
%================== END of Preprocessor ====================%
......@@ -900,12 +901,13 @@ hybrid_dynamic_simulation(InputFile,OutFilename,Volume,Time,PropTresh,PartTresh)
% Load the new file and execute the simulation
load_biocham(OutFilename),
format(" ~n If you want to choose which species are plot, please change the corresponding ~n line in the output file (by default out_dynamic.bc in the biocham directory). ~n ~n",[]).
format(" ~n If you want to choose which species are plot, please change the corresponding ~n line in the output file (by default out_dynamic.bc in the biocham directory). ~n ~n",[]),
!. % FIXME creates a dubious choice point
:- doc('\\begin{example}T7 model using hybrid dynamic simulation:').
:- biocham_silent(clear_model).
:- biocham(hybrid_dynamic_simulation('library:examples/hybrid/Goutsias_dynamic.bc',20,10)).
:- doc('\\end{example}').
% :- doc('\\begin{example}T7 model using hybrid dynamic simulation:').
% :- biocham_silent(clear_model).
% :- biocham(hybrid_dynamic_simulation('library:examples/hybrid/Goutsias_dynamic.bc',20,10)).
% :- doc('\\end{example}').
%! compute_maximum_change(+Reaction_list, -MaxParticleChange) :-
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment