Skip to content

Cannot start nipype.test(), unrecognized arguments error #2645

Closed
@shuiyiwensi

Description

@shuiyiwensi

Summary

Run nipype.test(), shows
-c: error: unrecognized arguments: -n

Actual behavior

usage: -c [options] [file_or_dir] [file_or_dir] [...]
-c: error: unrecognized arguments: -n
inifile: /home/wensi/anaconda3/envs/python35/lib/python3.5/site-packages/nipype/pytest.ini
rootdir: /home/wensi/anaconda3/envs/python35/lib/python3.5/site-packages/nipype

Expected behavior

the test should be run with out error

How to replicate the behavior

just follow the two command lines on Anaconda nipype
then run
python -c "import nipype; nipype.test()"

Script/Workflow details

Please put URL to code or code here (if not too long).

Platform details:

Please paste the output of: python -c "import nipype; print(nipype.get_info()); print(nipype.__version__)"

output is
/home/wensi/anaconda3/envs/python35/lib/python3.5/site-packages/h5py/init.py:36: FutureWarning: Conversion of the second argument of issubdtype from float to np.floating is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type.
from ._conv import register_converters as _register_converters
{'pkg_path': '/home/wensi/anaconda3/envs/python35/lib/python3.5/site-packages/nipype', 'networkx_version': '2.1', 'sys_version': '3.5.5 |Anaconda custom (64-bit)| (default, May 13 2018, 21:12:35) \n[GCC 7.2.0]', 'commit_source': 'archive substitution', 'nibabel_version': '2.3.0', 'commit_hash': '%h', 'sys_executable': '/home/wensi/anaconda3/envs/python35/bin/python', 'sys_platform': 'linux', 'numpy_version': '1.14.3', 'nipype_version': '1.1.0', 'scipy_version': '1.1.0', 'traits_version': '4.6.0'}
1.1.0

Execution environment

python 3.5

Choose one

  • Container [Tag: ???]
  • My python environment inside container [Base Tag: ???]
  • My python environment outside container

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions