Skip to content

Commit

Permalink
Update version.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rcervinoucm authored May 24, 2024
1 parent aceeacc commit 520e5a2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ctlearn/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,9 @@ def get_version(pep440=False):
print('hola')
raw_git_version = get_git_describe_version()
print(raw_git_version)
print(not raw_git_version)
if not raw_git_version: # not a git repository
print('entro')
return read_release_version()
print(raw_git_version)
git_version = format_git_describe(raw_git_version, pep440=pep440)
Expand Down

0 comments on commit 520e5a2

Please sign in to comment.