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 eb69920 commit 849928bCopy full SHA for 849928b
nipype/interfaces/base.py
@@ -995,10 +995,9 @@ def run(self, **inputs):
995
stdout=open(os.devnull),
996
stderr=open(os.devnull))
997
wait_step = 0.2
998
- max_wait = 10
999
wait_time = 0
1000
while xvfb_proc.poll() is not None:
1001
- if wait_time > max_wait: # raise Exception if past maximum wait time
+ if wait_time > config.get('execution', 'xvfb_max_wait'):
1002
raise Exception('Error: Xvfb did not start')
1003
time.sleep(wait_step) # give Xvfb time to start
1004
wait_time += wait_step
nipype/utils/config.py
@@ -51,6 +51,7 @@
51
write_provenance = false
52
parameterize_dirs = true
53
poll_sleep_duration = 60
54
+xvfb_max_wait = 10
55
56
[check]
57
interval = 1209600
0 commit comments