We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 736cca0 commit e23dafcCopy full SHA for e23dafc
nibabel/tests/test_parrec2nii.py
@@ -11,8 +11,9 @@
11
from ..tmpdirs import InTemporaryDirectory
12
## Possible locations of the parrec2nii executable;
13
BINDIRS = [join(dirname(dirname(dirname(__file__))), 'bin'),
14
- sys.executable,
15
- join(os.environ['VIRTUAL_ENV'],'bin')]
+ sys.executable]
+if 'VIRTUAL_ENV' in os.environ:
16
+ BINDIRS.append(join(os.environ['VIRTUAL_ENV'],'bin'))
17
18
19
AN_OLD_AFFINE = numpy.array(
0 commit comments