Skip to content

Commit

Permalink
clean up, rerun notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
yannikschaelte committed Oct 18, 2018
1 parent 77a5d70 commit 6addb8b
Show file tree
Hide file tree
Showing 5 changed files with 226 additions and 216 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Expand Up @@ -80,7 +80,7 @@ data/figures
coverage_py.xml

# examples
doc/example/*/*/*
doc/example/tmp

# general
data/.snakemake
Expand Down
11 changes: 5 additions & 6 deletions doc/example/conversion_reaction.ipynb

Large diffs are not rendered by default.

198 changes: 100 additions & 98 deletions doc/example/fixed_parameters.ipynb

Large diffs are not rendered by default.

220 changes: 113 additions & 107 deletions doc/example/rosenbrock.ipynb

Large diffs are not rendered by default.

11 changes: 7 additions & 4 deletions test/test_sbml_conversion.py
Expand Up @@ -84,13 +84,16 @@ def parameter_estimation(


def _load_model_objective(example_name):
sbml_file = os.path.join('doc', 'example',
'model_' + example_name + '.xml')
# name of the model that will also be the name of the python module
model_name = 'model_' + example_name

# sbml file
sbml_file = os.path.join('doc', 'example', 'tmp',
model_name + '.xml')

# directory to which the generated model code is written
model_output_dir = os.path.join('doc', 'example',
example_name)
model_output_dir = os.path.join('doc', 'example', 'tmp',
model_name)

# import sbml model, complile and generate amici module
sbml_importer = amici.SbmlImporter(sbml_file)
Expand Down

0 comments on commit 6addb8b

Please sign in to comment.