We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de107c2 commit bbd870cCopy full SHA for bbd870c
1 file changed
examples/parameters_validation/main.py
@@ -17,11 +17,11 @@ def main(file=None):
17
],
18
)
19
print('--------------------------------------', file=file)
20
- print('Simulating with:', file=file)
21
- print(f'\tpositive_number = {positive_number}', file=file)
22
- print(f'\tnegative_number = {negative_number}', file=file)
+ print(f'model parameters: {model.getParameters()}', file=file)
23
try:
24
model.simulate() # Parameters values are validated here.
+ print('No errors')
+ continue
25
except Exception as e:
26
print(e, file=file)
27
0 commit comments