Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Test system modified
- `README.md` modified
- Logo updated
- Exit message updated
- Python 3.5 support dropped
## [1.4] - 2024-03-16
### Added
Expand Down
3 changes: 3 additions & 0 deletions opem/Params.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
Warning_Message_1 = "Warning : The value of I(>{}) leads to minus amount of V, please check your inputs"
Warning_Message_2 = "Warning : There are errors in the simulations in some of I amounts; please refer to the .opem file" \
" for review. If you are confident about this parameters, ignore this warning."

Exit_Message = "See you. Bye!"

Report_Message = "Report is generating ..."
HHV = 1.482
uF = 0.95
Expand Down
7 changes: 5 additions & 2 deletions opem/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from opem.Dynamic.Padulles_Amphlett import Dynamic_Analysis as Padulles_Amphlett_Analysis
from opem.Dynamic.Chakraborty import Dynamic_Analysis as Chakraborty_Analysis
from art import tprint
from opem.Params import Version, Description_Menu, Description_Links, Vectors, Mode_Menu
from opem.Params import Version, Description_Menu, Description_Links, Vectors, Mode_Menu, Exit_Message
from opem.Functions import check_update, description_print, description_control


Expand Down Expand Up @@ -80,4 +80,7 @@ def main():


if __name__ == "__main__":
main()
try:
main()
except KeyboardInterrupt:
print(Exit_Message)
Loading