Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
urmi-21 committed Jan 18, 2021
1 parent cc6eb43 commit 4ee770a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion pyrpipe/pyrpipe_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ def skippable(func):
if not _safe:
return func

return lambda x: True
return lambda *args,**kwargs: True


#decorator function for dry runs
def dryable(func):
Expand Down
3 changes: 2 additions & 1 deletion tests/test_conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
#create configuration
f=open('pyrpipe_conf.yaml','w')
f.write('dry: true\n')
f.write('threads: true\n')
f.write('threads: 1\n')
f.write('safe: true\n')
f.close()


Expand Down

0 comments on commit 4ee770a

Please sign in to comment.