We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2383177 commit fbac4eeCopy full SHA for fbac4ee
nipype/utils/config.py
@@ -309,7 +309,7 @@ def _mock():
309
ndisp = sysdisplay.split(':')[-1].split('.')[0]
310
Xvfb = namedtuple('Xvfb', ['new_display', 'stop'])
311
self._display = Xvfb(int(ndisp), _mock)
312
- return sysdisplay
+ return self.get_display()
313
else:
314
if 'darwin' in sys.platform:
315
raise RuntimeError(
@@ -336,8 +336,7 @@ def _mock():
336
if not hasattr(self._display, 'new_display'):
337
setattr(self._display, 'new_display',
338
self._display.vdisplay_num)
339
-
340
- return ':%d' % self._display.new_display
341
342
def stop_display(self):
343
"""Closes the display if started"""
0 commit comments