Skip to content

Commit

Permalink
Update IsoAutio.py
Browse files Browse the repository at this point in the history
Added assert statements to checkVerbose function.
  • Loading branch information
JacobGlennAyers authored Feb 15, 2023
1 parent 5d7abcd commit 0f2ccb6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions PyHa/IsoAutio.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ def checkVerbose(
- Python Dictionary that controls the various label creation
techniques.
"""
assert isinstance(errorMessage,str)
assert isinstance(isolation_parameters,dict)
assert 'verbose' in isolation_parameters.keys()

if(isolation_parameters['verbose']):
print(errorMessage)

Expand Down

0 comments on commit 0f2ccb6

Please sign in to comment.