Skip to content

Commit

Permalink
Merge branch 'master' into protocol-example-plots-dimdata
Browse files Browse the repository at this point in the history
  • Loading branch information
markkness committed Mar 21, 2014
2 parents 636902e + fc53323 commit 7e52bf1
Show file tree
Hide file tree
Showing 22 changed files with 424 additions and 530 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -10,6 +10,7 @@ before_install:
- pip install numpy
- pip install pyzmq --install-option="--zmq=bundled"
- pip install ipython
#- pip install matplotlib # takes too long to build
- pip install mpi4py --allow-all-external --allow-unverified mpi4py
- pip install cython
- CC=mpicc pip install git+https://github.com/h5py/h5py.git --install-option="--mpi"
Expand Down
1 change: 1 addition & 0 deletions distarray/context.py
Expand Up @@ -421,6 +421,7 @@ def save_hdf5(self, filename, da, key='buffer', mode='a'):
The identifier for the group to save the DistArray to (the default
is 'buffer').
mode : optional, {'w', 'w-', 'a'}, default 'a'
``'w'``
Create file, truncate if exists
``'w-'``
Expand Down
10 changes: 5 additions & 5 deletions distarray/decorators.py
Expand Up @@ -66,11 +66,11 @@ def key_and_push_args(self, args, kwargs, context=None, da_handler=None):
This allows us to use the following interface to execute code on
the engines:
def foo(*args, **kwargs):
args, kwargs = _key_and_push_args(args, kwargs)
exec_str = "remote_foo(*%s, **%s)"
exec_str %= (args, kwargs)
context.execute(exec_str)
>>> def foo(*args, **kwargs):
>>> args, kwargs = _key_and_push_args(args, kwargs)
>>> exec_str = "remote_foo(*%s, **%s)"
>>> exec_str %= (args, kwargs)
>>> context.execute(exec_str)
"""

if context is None:
Expand Down
222 changes: 0 additions & 222 deletions distarray/local/base.py

This file was deleted.

0 comments on commit 7e52bf1

Please sign in to comment.