Skip to content

Commit

Permalink
Merge branch 'master' of ssh://github.com/CGATOxford/cgat
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasHeger committed Nov 7, 2014
2 parents 5004a6a + b246f2f commit 7e31900
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CGAT/Pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -2176,8 +2176,13 @@ def cluster_runnable(func):
and *toCluster* true. This will submit the function as an external
job, but run it on the local machine.
Note: all arguments in decorated function must be passed as
key-word arguments.
'''

# MM: when decorating functions with cluster_runnable, provide
# them as kwargs, else will throw attribute error

function_name = func.__name__

def submit_function(*args, **kwargs):
Expand Down
2 changes: 1 addition & 1 deletion requires.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# latest setutools required for automatic cythonization
setuptools>=1.1
pyparsing==1.5.7
pyparsing>=1.5.7
cython>=0.19
numpy>=1.7
MySQL-python>1.2.3
Expand Down

0 comments on commit 7e31900

Please sign in to comment.