Skip to content

Commit

Permalink
Fix code typo
Browse files Browse the repository at this point in the history
  • Loading branch information
rikardn committed May 17, 2024
1 parent a823454 commit 9465684
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deploy/func_conversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def _create_func_body_modeling(func, func_execute):

def _create_func_body_tool(func, func_execute):
error_msg = [
'err <- reticulate::py_last_error()'
'err <- reticulate::py_last_error()',
'if (err$type == "InputValidationError") {',
' message(err$value)',
'} else {',
Expand All @@ -75,7 +75,7 @@ def _create_func_body_tool(func, func_execute):
' message(err)',
' message("pharmr version: ", packageVersion("pharmr"))',
' message("Pharmpy version: ", print_pharmpy_version())',
' message("This is a BUG. Please report it at https://github.com/pharmpy/pharmpy/issues. Thanks!")'
' message("This is a BUG. Please report it at https://github.com/pharmpy/pharmpy/issues. Thanks!")',
'}',
'return(NA)'
]
Expand Down

0 comments on commit 9465684

Please sign in to comment.