Skip to content

Commit

Permalink
Merge branch 'version/2.4' into version/2.5
Browse files Browse the repository at this point in the history
* version/2.4:
  bugfix: wrong number of arguments
  bugfix: autoflow is a property of the job, not the runnable
  • Loading branch information
ens-bwalts committed Jun 30, 2020
2 parents ecd7022 + 32ae5e5 commit bd322a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion wrappers/python3/eHive/Process.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def warning(self, message, is_error = False):
def dataflow(self, output_ids, branch_name_or_code = 1):
"""Dataflows the output_id(s) on a given branch (default 1). Returns whatever the Perl side returns"""
if branch_name_or_code == 1:
self.autoflow = False
self.input_job.autoflow = False
self.__send_message('DATAFLOW', {'output_ids': output_ids, 'branch_name_or_code': branch_name_or_code, 'params': {'substituted': self.__params.param_hash, 'unsubstituted': self.__params.unsubstituted_param_hash}})
return self.__read_message()['response']

Expand Down
2 changes: 1 addition & 1 deletion wrappers/python3/wrapper
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def do_run():
fd_out = int(sys.argv[4])
debug = int(sys.argv[5])
except:
usage('Cannot read the file descriptors as integers', 'run')
usage('Cannot read the file descriptors as integers')
runnable(fd_in, fd_out, debug)


Expand Down

0 comments on commit bd322a8

Please sign in to comment.