Skip to content

Commit

Permalink
Merge pull request #213 from kmcos/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
kmcos committed Aug 15, 2022
2 parents 7ea3ae6 + 20bc091 commit 74f41b8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion kmcos/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@



__version__ = "0.0.72"
__version__ = "0.0.73"
VERSION = __version__

def evaluate_param_expression(param, parameters={}):
Expand Down
8 changes: 5 additions & 3 deletions kmcos/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -492,9 +492,11 @@ def main(args=None):

try:
model = KMC_Model(print_rates=False)
except:
print("Warning: could not import kmc_model!"
" Please make sure you are in the right directory")
except Exception as theError:
print("Warning: could not import kmc_model! The error was:", theError,
"\n Please make sure you are in the right directory")


sh(banner='Note: model = KMC_Model(print_rates=False){catmap_message}'.format(**locals()))
try:
model.deallocate()
Expand Down

0 comments on commit 74f41b8

Please sign in to comment.