Loading pyproject.toml +1 −1 Original line number Diff line number Diff line [tool.poetry] name = "nova-galaxy" version = "0.7.1" version = "0.7.2" description = "Utilties for accessing the ORNL Galaxy instance" authors = ["Greg Watson <watsongr@ornl.gov>", "Gregory Cage <cagege@ornl.gov>"] readme = "README.md" Loading src/nova/galaxy/job.py +4 −0 Original line number Diff line number Diff line Loading @@ -137,6 +137,10 @@ class Job: job = self.galaxy_instance.jobs.show_job(self.id) if job["state"] == "running": self.status.state = WorkState.RUNNING elif job["state"] == "error": self.status.state = WorkState.ERROR elif job["state"] == "deleted": self.status.state = WorkState.DELETED return self.status def get_results(self) -> Outputs: Loading src/nova/galaxy/util.py +1 −0 Original line number Diff line number Diff line Loading @@ -12,3 +12,4 @@ class WorkState(Enum): RUNNING = "running" FINISHED = "finished" ERROR = "error" DELETED = "deleted" Loading
pyproject.toml +1 −1 Original line number Diff line number Diff line [tool.poetry] name = "nova-galaxy" version = "0.7.1" version = "0.7.2" description = "Utilties for accessing the ORNL Galaxy instance" authors = ["Greg Watson <watsongr@ornl.gov>", "Gregory Cage <cagege@ornl.gov>"] readme = "README.md" Loading
src/nova/galaxy/job.py +4 −0 Original line number Diff line number Diff line Loading @@ -137,6 +137,10 @@ class Job: job = self.galaxy_instance.jobs.show_job(self.id) if job["state"] == "running": self.status.state = WorkState.RUNNING elif job["state"] == "error": self.status.state = WorkState.ERROR elif job["state"] == "deleted": self.status.state = WorkState.DELETED return self.status def get_results(self) -> Outputs: Loading
src/nova/galaxy/util.py +1 −0 Original line number Diff line number Diff line Loading @@ -12,3 +12,4 @@ class WorkState(Enum): RUNNING = "running" FINISHED = "finished" ERROR = "error" DELETED = "deleted"