Skip to content

issue with MIPAV module #2362

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
fBeyer89 opened this issue Jan 9, 2018 · 2 comments · Fixed by #2363
Closed

issue with MIPAV module #2362

fBeyer89 opened this issue Jan 9, 2018 · 2 comments · Fixed by #2363
Labels

Comments

@fBeyer89
Copy link

fBeyer89 commented Jan 9, 2018

Dear all,
I've tried to run the example on MP2RAGE-skullstripping http://nipype.readthedocs.io/en/latest/users/examples/smri_cbs_skullstripping.html with nipype 0.14.0 and CBStools version 3.0. I use a conda environment based on python 2.7.

Here is the error message:
Traceback:
Traceback (most recent call last):
File "/home/raid1/fbeyer/local/miniconda2/envs/nip14/lib/python2.7/site-packages/nipype/pipeline/plugins/linear.py", line 43, in run
node.run(updatehash=updatehash)
File "/home/raid1/fbeyer/local/miniconda2/envs/nip14/lib/python2.7/site-packages/nipype/pipeline/engine/nodes.py", line 407, in run
self._run_interface()
File "/home/raid1/fbeyer/local/miniconda2/envs/nip14/lib/python2.7/site-packages/nipype/pipeline/engine/nodes.py", line 517, in _run_interface
self._result = self._run_command(execute)
File "/home/raid1/fbeyer/local/miniconda2/envs/nip14/lib/python2.7/site-packages/nipype/pipeline/engine/nodes.py", line 650, in _run_command
result = self._interface.run()
File "/home/raid1/fbeyer/local/miniconda2/envs/nip14/lib/python2.7/site-packages/nipype/interfaces/base.py", line 1063, in run
env['DISPLAY'] = config.get_display()
File "/home/raid1/fbeyer/local/miniconda2/envs/nip14/lib/python2.7/site-packages/nipype/utils/config.py", line 286, in get_display
ndisp = int(sysdisplay.split(':')[-1])
ValueError: invalid literal for int() with base 10: '0.0'

When running the MIPAV command separately it works fine.

Do you have an idea what could be the reason for this?
Best
Frauke

@mgxd mgxd added the bug label Jan 9, 2018
@mgxd
Copy link
Member

mgxd commented Jan 9, 2018

@fBeyer89 thanks for reporting this, what OS are you running?

oesteban added a commit to oesteban/nipype that referenced this issue Jan 9, 2018
The format for ``$DISPLAY`` is ``<host>:<display>[.<screen>]``. When
screen is specified, the config object fails.

This patch fixes nipy#2362
@fBeyer89
Copy link
Author

I am running on a 16.04.1. Ubuntu machine (Linux lessing 4.10.0-38-generic #42~16.04.1-Ubuntu SMP Tue Oct 10 16:32:20 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants