Commit 3b90dbf7 authored by FAGES Francois's avatar FAGES Francois
Browse files

grrrr

parent 5e4ba131
...@@ -4,7 +4,9 @@ ...@@ -4,7 +4,9 @@
list_ODE/0, list_ODE/0,
compute_ode/0, compute_ode/0,
ode/2, ode/2,
load_ode/1 % export_ode/1,
load_ode/1,
add_ode/1
]). ]).
:- dynamic(ode/2). :- dynamic(ode/2).
...@@ -13,7 +15,8 @@ list_ODE :- ...@@ -13,7 +15,8 @@ list_ODE :-
biocham_command, biocham_command,
doc(' doc('
returns the set of ordinary differential equations returns the set of ordinary differential equations
and initial concentrations (one line per molecule). and initial concentrations (one line per molecule)
associated to the current model
\\begin{example} \\begin{example}
'), '),
biocham_silent(clear_model), biocham_silent(clear_model),
...@@ -81,6 +84,20 @@ print_ode :- ...@@ -81,6 +84,20 @@ print_ode :-
) )
). ).
%export_ode(OutputFile) :-
% biocham_command,
% type(OutputFile, output_file),
% doc('
% exports the current Biocham model (reaction rules, initial state, parameters and
% macros) in an xppaut .ode file.
% '),
% automatic_suffix(OutputFile, '.ode', write, FilenameODE),
% setup_call_cleanup(
% open(FilenameODE, write, Stream),
% export_ode_stream(Stream),
% close(Stream)
% ).
load_ode(InputFile) :- load_ode(InputFile) :-
biocham_command, biocham_command,
......
...@@ -22,20 +22,20 @@ ...@@ -22,20 +22,20 @@
** Numerical temporal properties ** Numerical temporal properties
* Commands at Top-level * Commands at Top-level
- toplevel.pl - toplevel.pl
** Loading, listing and exporting models ** Loading, listing, importing and exporting models
*** Biocham files *** Biocham files
- models.pl - models.pl
*** SBML files *** SBML files
- sbml_files.pl - sbml_files.pl
*** ODE files *** ODE files
- ODEfunction.pl - ode.pl
- odefunction.pl
*** Graphics files *** Graphics files
*** Other files *** Other files
- nusmv.pl - nusmv.pl
** Listing and editing reactions and events ** Listing and editing reactions and events
*** Reactions *** Reactions
- reaction_editor.pl - reaction_editor.pl
- ode.pl
*** Events *** Events
- events.pl - events.pl
** Listing and defining initial states, molecules and locations ** Listing and defining initial states, molecules and locations
......
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