Skip to content

Commit

Permalink
BF - added dipy.parallel to setup and fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
MrBago committed May 19, 2015
1 parent f224e0d commit 0513c9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions dipy/parallel/config.py
Expand Up @@ -16,10 +16,8 @@ def deactivate_multithreading():

@contextmanager
def multithreading_on(num_cpu=None):
print '{} in'.format(num_cpu)
previous_state = _dipy_num_cpu
activate_multithreading(num_cpu)
yield
activate_multithreading(previous_state)
print '{} out'.format(_dipy_num_cpu)

2 changes: 2 additions & 0 deletions setup.py
Expand Up @@ -184,6 +184,8 @@ def main(**extra_args):
'dipy.core.tests',
'dipy.direction',
'dipy.direction.tests',
'dipy.parallel',
'dipy.parallel.tests',
'dipy.tracking',
'dipy.tracking.local',
'dipy.tracking.local.tests',
Expand Down

0 comments on commit 0513c9d

Please sign in to comment.