Skip to content

[BUG] Error in nifti_image_files (pytest fixture) #1829

Closed
@oesteban

Description

@oesteban

Summary

nifti_image_files iterates over the string name when filelist is not a list

Actual behavior

Several tests relying on this fixture fail.

Expected behavior

When only one nifti is expected, generate only one.

How to replicate the behavior

docker run -it --rm -e FSL_COURSE_DATA="/root/examples/nipype-fsl_course_data" \
                    -v ~/examples:/root/examples:ro \
                    -v ~/scratch:/scratch \
                    -w /root/src/nipype \
                    nipype/nipype_test:py35 /usr/bin/run_pytests.sh

The docker image nipype/nipype_test:py35 must be built with an up-to-date master.

Platform details:

nipype/nipype_test:py35 built on master

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions