Skip to content

Commit ce28776

Browse files
committed
fix: address failing test in travis / update niworkflows dependency
1 parent b6c95cb commit ce28776

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

dmriprep/cli/tests/test_parser.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def test_parser_errors(args, code):
2828
])
2929
def test_parser_valid(tmp_path, args):
3030
"""Check valid arguments."""
31-
datapath = (tmp_path / 'data')
31+
datapath = (tmp_path / 'data').absolute()
3232
datapath.mkdir(exist_ok=True)
3333
args[0] = str(datapath)
3434

@@ -59,13 +59,14 @@ def test_parser_valid(tmp_path, args):
5959
])
6060
def test_memory_arg(tmp_path, argval, gb):
6161
"""Check the correct parsing of the memory argument."""
62-
datapath = (tmp_path / 'data')
62+
datapath = (tmp_path / 'data').absolute()
6363
datapath.mkdir(exist_ok=True)
6464
_fs_file = tmp_path / 'license.txt'
6565
_fs_file.write_text('')
6666

6767
args = MIN_ARGS + ['--fs-license-file', str(_fs_file)] \
6868
+ ['--mem', argval]
69+
args[0] = str(datapath)
6970
opts = _build_parser().parse_args(args)
7071

7172
assert opts.memory_gb == gb

docs/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ git+https://github.com/AleksandarPetrov/napoleon.git@0dc3f28a309ad602be5f44a9049
22
git+https://github.com/rwblair/sphinxcontrib-versioning.git@39b40b0b84bf872fc398feff05344051bbce0f63#egg=sphinxcontrib-versioning
33
nbsphinx
44
nipype ~= 1.4.2
5-
niworkflows ~= 1.1.9
5+
niworkflows ~= 1.1.10
66
packaging
77
pydot>=1.2.3
88
pydotplus

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ install_requires =
2424
indexed_gzip >=0.8.8
2525
nibabel ~= 3.0
2626
nipype ~= 1.4.2
27-
niworkflows ~= 1.1.9
27+
niworkflows ~= 1.1.10
2828
numpy
2929
pybids ~= 0.9.4
3030
pyyaml

0 commit comments

Comments
 (0)