Skip to content

Commit

Permalink
update version [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
miquelduranfrigola authored and ersilia-bot committed Feb 15, 2024
1 parent 114049d commit 1f87540
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ersilia/_static_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version = "0.1.30"
version = "0.1.32"
3 changes: 3 additions & 0 deletions ersilia/db/environments/managers.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ def is_inside_docker(self):

def is_installed(self):
return DockerRequirement().is_installed()

def is_logged_in(self):
return DockerRequirement().is_logged_in()

def is_active(self):
return DockerRequirement().is_active()
Expand Down
8 changes: 8 additions & 0 deletions ersilia/setup/requirements/docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@ def is_working(self):
return True
else:
return False

def is_logged_in(self):
cmd = "docker info"
output = run_command_check_output(cmd)
if "Username" in output:
return True
else:
return False

def is_active(self):
cmd = "docker ps"
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "ersilia"
version = "0.1.30"
version = "0.1.32"
description = "A hub of AI/ML models for open source drug discovery and global health"
license = "GPLv3"
authors = ["Ersilia Open Source Initiative <[email protected]>"]
Expand Down

0 comments on commit 1f87540

Please sign in to comment.