-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
249 additions
and
2,634 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = '0.0.1' | ||
__version__ = '0.1.0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
""" Configuration | ||
:Author: Jonathan Karr <karr@mssm.edu> | ||
:Date: 2021-01-04 | ||
:Copyright: 2021, Center for Reproducible Biomedical Modeling | ||
:License: MIT | ||
""" | ||
|
||
from .data_model import PlottingEngine | ||
import os | ||
|
||
__all__ = ['Config'] | ||
|
||
|
||
class Config(object): | ||
""" Configuration | ||
Attributes: | ||
plotting_engine (:obj:`PlottingEngine`): plotting engine | ||
""" | ||
|
||
def __init__(self): | ||
plotting_engine = os.getenv('PLOTTING_ENGINE', 'matplotlib') | ||
if plotting_engine not in PlottingEngine.__members__: | ||
raise NotImplementedError(('`{}` is a not a valid plotting engine for tellurium. ' | ||
'tellurium supports the following plotting engines:\n - {}').format( | ||
plotting_engine, '\n - '.join(sorted('`' + name + '`' for name in PlottingEngine.__members__.keys())))) | ||
|
||
self.plotting_engine = PlottingEngine[plotting_engine] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
biosimulators_utils >= 0.1.28 | ||
matplotlib | ||
numpy | ||
python_libcombine | ||
biosimulators_utils >= 0.1.30 | ||
pandas | ||
tellurium | ||
tesedml | ||
|
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+19.5 KB
tests/fixtures/BIOMD0000000297.omex → ...ixtures/BIOMD0000000297-with-reports.omex
Binary file not shown.
Oops, something went wrong.