diff --git a/pyproject.toml b/pyproject.toml index c030eda3..a6627eb1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -60,6 +60,7 @@ test = [ "pytest >=6.2.5", "pytest-env>=0.6.2", "pytest-cov>=2.12.1", + "fileformats-medimage-extras", ] docs = [ "packaging", diff --git a/tests/test_task.py b/tests/test_task.py index 6dbc5756..cc18b982 100644 --- a/tests/test_task.py +++ b/tests/test_task.py @@ -2,7 +2,6 @@ import yaml from conftest import show_cli_trace import pytest -import shutil import logging from nipype2pydra.cli import task as task_cli from nipype2pydra.utils import add_to_sys_path @@ -18,7 +17,6 @@ "trait_modified", "environ", "output_type", - "crop_list", ] @@ -48,7 +46,7 @@ def test_task_conversion(task_spec_file, cli_runner, work_dir, gen_test_conftest pydra_module = import_module(output_module_path) pydra_task = getattr(pydra_module, task_spec["task_name"]) nipype_interface = getattr( - import_module(task_spec["nipype_module"]), task_spec["task_name"] + import_module(task_spec["nipype_module"]), task_spec["nipype_name"] ) nipype_trait_names = nipype_interface.input_spec().all_trait_names()