Skip to content

Commit

Permalink
Merge pull request #29 from ohsu-comp-bio/log-bug
Browse files Browse the repository at this point in the history
Fixing ExecutorLog/TaskLog mixup
  • Loading branch information
kellrott authored Jul 9, 2020
2 parents 277fb8b + 8a33791 commit d82a5d9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .coverage

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tes/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def __check_url(self, attribute, value):
if u.scheme not in ["http", "https"]:
raise ValueError(
"Unsupported URL scheme - must be one of [%s,%s]"
% (["http", "https"])
% ("http", "https")
)

def get_service_info(self):
Expand Down
2 changes: 1 addition & 1 deletion tes/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def unmarshal(j, o, convert_camel_case=True):
"tasks": Task,
"inputs": Input,
"outputs": (Output, OutputFileLog),
"logs": (TaskLog, ExecutorLog),
"logs": (ExecutorLog, TaskLog),
"resources": Resources,
"executors": Executor
}
Expand Down
2 changes: 1 addition & 1 deletion tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
coverage>=4.4.1
coverage==4.5.4
coveralls>=1.1
flake8>=3.3.0
nose>=1.3.7
Expand Down

0 comments on commit d82a5d9

Please sign in to comment.