Skip to content

Commit

Permalink
Updated to remove large inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
rowleya committed Jun 15, 2018
1 parent ea231e6 commit 860b521
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pacman/executor/algorithm_classes/external_algorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def call(self, inputs):
" Output: {}\n"
" Error: {}\n".format(
self._algorithm_id, child.returncode,
inputs, stdout, stderr))
inputs.keys(), stdout, stderr))

# Return the results processed into a dict
# Use None here as the results don't actually exist, and are expected
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def call_python(self, inputs):
method = self._python_method
logger.error("Error when calling {}.{}.{} with inputs {}",
self._python_module, self._python_class, method,
inputs)
inputs.keys())
raise

def __repr__(self):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ def call_python(self, inputs):
return function(**inputs)
except Exception:
logger.error("Error when calling {}.{} with inputs {}",
self._python_module, self._python_function, inputs)
self._python_module, self._python_function,
inputs.keys())
raise

def __repr__(self):
Expand Down

0 comments on commit 860b521

Please sign in to comment.