Created
February 26, 2014 16:55
-
-
Save jmchilton/9233563 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -r c80947795972 lib/galaxy/jobs/runners/lwr_client/client.py | |
--- a/lib/galaxy/jobs/runners/lwr_client/client.py Fri Feb 21 16:57:59 2014 -0500 | |
+++ b/lib/galaxy/jobs/runners/lwr_client/client.py Wed Feb 26 10:55:11 2014 -0600 | |
@@ -9,6 +9,9 @@ | |
MAX_RETRY_COUNT = 5 | |
RETRY_SLEEP_TIME = 0.1 | |
+import logging | |
+log = logging.getLogger(__name__) | |
+ | |
class parseJson(object): | |
@@ -89,7 +92,10 @@ | |
if contents: | |
input_path = None | |
if action_type == 'transfer': | |
- return self._upload_file(args, contents, input_path) | |
+ log.info("Transferring input with args %s and input_path %s" % (str(args), input_path)) | |
+ result = self._upload_file(args, contents, input_path) | |
+ log.info("Put file result is %s" % result) | |
+ return result | |
elif action_type == 'copy': | |
lwr_path = self._raw_execute('input_path', args) | |
self._copy(path, lwr_path) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment