Commit a9992ee7 authored by FAGES Francois's avatar FAGES Francois
Browse files

grrrrr

parent a4b19f02
...@@ -23,8 +23,9 @@ ...@@ -23,8 +23,9 @@
all_odes/1, all_odes/1,
ode/2, ode/2,
% export_ode/1, % export_ode/1,
load_ode/1, % load_ode/1,
add_ode/1 add_ode/1,
op(1000, fx, init)
]). ]).
...@@ -212,7 +213,7 @@ load_ode_system(InputFile) :- ...@@ -212,7 +213,7 @@ load_ode_system(InputFile) :-
doc(' doc('
acts as \\command{load_biocham/1} but importing a model from an ODE system. acts as \\command{load_biocham/1} but importing a model from an ODE system.
'), '),
load_all('ode', InputFile). models:load_all('ode', InputFile).
add_ode_system(InputFile) :- add_ode_system(InputFile) :-
...@@ -221,7 +222,7 @@ add_ode_system(InputFile) :- ...@@ -221,7 +222,7 @@ add_ode_system(InputFile) :-
doc(' doc('
acts as \\command{add_biocham/1} but importing a model from an ODE system. acts as \\command{add_biocham/1} but importing a model from an ODE system.
'), '),
load_all('ode', InputFile). models:load_all('ode', InputFile).
export_ode_system(OutputFile) :- export_ode_system(OutputFile) :-
......
...@@ -30,7 +30,7 @@ add_function(FunctionList) :- ...@@ -30,7 +30,7 @@ add_function(FunctionList) :-
export_ode(FunctionList,Stream), export_ode(FunctionList,Stream),
close(Stream) close(Stream)
), ),
add_ode('external_ode_function.ode'). add_ode_system('external_ode_function.ode').
export_ode(_,Stream):- export_ode(_,Stream):-
......
...@@ -11,4 +11,4 @@ test('add_function'):- ...@@ -11,4 +11,4 @@ test('add_function'):-
command(k*[x] for x=>y), command(k*[x] for x=>y),
command(add_function(z=x+y, u=x*y)). command(add_function(z=x+y, u=x*y)).
:- end_tests(ode). :- end_tests(odefunction).
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