Skip to content

Commit 440739c

Browse files
committed
version installation minor bugs
1 parent f1ade08 commit 440739c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/ethopy/core/experiment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -925,7 +925,7 @@ class Version(dj.Part): # noqa: D101, D106
925925
-> Session
926926
project_path : varchar(256) # path
927927
---
928-
source_type : enum('pip', 'git') # task or setup
928+
source_type : enum('pypi', 'git') # task or setup
929929
version : varchar(32) # pip version or git hash
930930
repository_url : varchar(256) # git repository url if available
931931
is_dirty : bool # uncommited changes in git

src/ethopy/utils/helper_functions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,8 +284,8 @@ def get_code_version_info(project_path: str = None) -> Dict[str, Any]:
284284
"project_path": os.path.abspath(project_path),
285285
"source_type": None,
286286
"version": None,
287-
"repository_url": None,
288-
"is_dirty": None,
287+
"repository_url": '',
288+
"is_dirty": False,
289289
}
290290

291291
# Check if it's a git repository

0 commit comments

Comments
 (0)