Skip to content

Commit

Permalink
changed help text (#235)
Browse files Browse the repository at this point in the history
- Changed help text to no longer imply that a CellML located at a (remote) url can be translated (it needs to be a local file).
- pinned sympy to < 1.10 since sympy 1.10 is causing some issues with existing tests in chaste
  • Loading branch information
MauriceHendrix authored Mar 18, 2022
1 parent 3d25c46 commit 4ece133
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Release 0.9.5
- Corrected a type in the generated output for `--rush-larsen-c`
- Updated the help text to no longer imply that CellML files can be converted from remote URIs (a local file is required)
- Fixed required sympy version to be < 1.10 since the jacobean generation has in sympy1.10 changed and makes chaste_codegen tests fail

# Release 0.9.4
- This version drops python 3.5 support. The reason for this is python 3.5 is end of life and the chase project will soon be dropping support.
Expand Down
2 changes: 1 addition & 1 deletion chaste_codegen/_command_line_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def process_command_line():

parser.add_argument('--version', action='version',
version='%(prog)s {version}'.format(version=cg.__version__))
parser.add_argument('cellml_file', metavar='cellml_file', help='The cellml file or URI to convert to chaste code')
parser.add_argument('cellml_file', metavar='cellml_file', help='The cellml file to convert to chaste code')

group = parser.add_argument_group('ModelTypes', 'The different types of solver approach for which code can be '
'generated; if no model type is set, "normal" models are generated')
Expand Down
2 changes: 1 addition & 1 deletion chaste_codegen/data/tests/test_console_script_help.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
'pyparsing>=2.4.7, <3',
'rdflib>=5.0.0, <7',
'six>=1.15.0, <2',
'sympy>=1.6.1, <2',
'sympy>=1.6.1, <1.9',
'zipp>=1.2.0, <2',
'cellmlmanip>=0.3.0, <0.4',
'Jinja2>=2.11.3, <3',
Expand Down

0 comments on commit 4ece133

Please sign in to comment.