Open
Description
Summary
NiftyReg doctests create a host-specific file in <repo_root>/nipype/testing/data/reg_average_cmd
.
For example, the contents of the file in my repository are:
reg_average /Users/markiewicz/Projects/nipype/nipype/testing/data/avg_out.nii.gz -avg im1.nii im2.nii im3.nii -omp 1
This is created by the doctest here:
nipype/nipype/interfaces/niftyreg/regutils.py
Lines 437 to 461 in 69dce12
Expected behavior
Tests should not leave modified files in the repository.
How to replicate the behavior
make check-before-commit
Script/Workflow details
Please put URL to code or code here (if not too long).
Platform details:
{'commit_hash': '%h',
'commit_source': 'archive substitution',
'networkx_version': '2.1',
'nibabel_version': '2.3.0',
'nipype_version': '1.1.0',
'numpy_version': '1.14.3',
'pkg_path': '/anaconda3/lib/python3.6/site-packages/nipype',
'scipy_version': '1.1.0',
'sys_executable': '/anaconda3/bin/python',
'sys_platform': 'darwin',
'sys_version': '3.6.5 |Anaconda, Inc.| (default, Apr 26 2018, 08:42:37) \n'
'[GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)]',
'traits_version': '4.6.0'}
1.1.0
Execution environment
Choose one
- My python environment outside container