Skip to content

Commit

Permalink
Added more color to clarify functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
asampat3090 committed Jun 30, 2018
1 parent 39f5131 commit 9be1996
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions datmo/core/controller/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,10 @@ def _run_helper(self, environment_id, options, log_filepath):
def _parse_logs_for_results(self, logs):
"""Parse log string to extract results and return dictionary.
The format of the log line must be "key:value", whitespace will not matter
and if there are more than 2 items found when split on ":", it will not
log this as a key/value result
Note
----
If the same key is found multiple times in the logs, the last occurring
Expand Down
2 changes: 1 addition & 1 deletion datmo/core/util/lang/en.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
"general.project.dne":
"No project found in current directory. Run `datmo init` to create one",
"general.environment.docker.na":
"Docker environment is not initialized. This command cannot be run",
"Docker daemon is not initialized. This command cannot be run. Please start Docker and try again.",
"sdk.snapshot.create.task.args":
"Error due to passing excluded args while creating snapshot from task: %s",
"cli.general":
Expand Down

0 comments on commit 9be1996

Please sign in to comment.