Skip to content

Commit

Permalink
adding information about supported environment variables to inline help
Browse files Browse the repository at this point in the history
  • Loading branch information
jonrkarr committed Dec 30, 2020
1 parent d502808 commit 360f863
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion biosimulators_pysces/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,19 @@
from ._version import __version__
from .core import exec_sedml_docs_in_combine_archive
from biosimulators_utils.simulator.cli import build_cli
from biosimulators_utils.simulator.data_model import AlgorithmSubstitutionPolicy
from biosimulators_utils.simulator.environ import ENVIRONMENT_VARIABLES
import os
cwd = os.getcwd() # because PySCeS changes the working directory
import pysces # noqa: E402
os.chdir(cwd)

App = build_cli('pysces', __version__,
'PySCeS', pysces.__version__, 'http://pysces.sourceforge.net/',
exec_sedml_docs_in_combine_archive)
exec_sedml_docs_in_combine_archive,
environment_variables=[
ENVIRONMENT_VARIABLES[AlgorithmSubstitutionPolicy]
])


def main():
Expand Down

0 comments on commit 360f863

Please sign in to comment.