Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
VeronicaSergeeva authored Nov 18, 2024
1 parent 238968e commit dffbf7a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions EXOSIMS/util/version_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

def get_git_info():
"""
Get Git information including commit hash and status of changes
Get Git information including commit hash and status of changes
"""
try:
# Check if we are in a Git repository
Expand All @@ -25,7 +25,7 @@ def get_git_info():

def is_editable_installation():
"""
Check if EXOSIMS is installed in editable mode
Check if EXOSIMS is installed in editable mode
"""
try:
# Check if EXOSIMS is installed via pip in editable mode
Expand All @@ -36,6 +36,9 @@ def is_editable_installation():
return False

def get_version():
"""
Retrieve the Python version and EXOSIMS version.
"""
python_version = platform.python_version()

exosims_version = metadata.version('EXOSIMS')
Expand Down

0 comments on commit dffbf7a

Please sign in to comment.