Skip to content

Commit de6a7f1

Browse files
committed
Removed print debug statement
1 parent fcaec79 commit de6a7f1

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

nipype/interfaces/afni/base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ def __init__(self, **inputs):
148148
self._output_update()
149149

150150
# Update num threads estimate from OMP_NUM_THREADS env var
151+
# Default to 1 if not set
151152
import os
152153
self.num_threads = int(os.getenv('OMP_NUM_THREADS', 1))
153154

nipype/pipeline/plugins/multiproc.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,12 +212,10 @@ def _send_procs_to_workers(self, updatehash=False, graph=None):
212212
free_memory_gb = self.memory_gb - busy_memory_gb
213213
free_processors = self.processors - busy_processors
214214

215-
216215
# Check all jobs without dependency not run
217216
jobids = np.flatnonzero((self.proc_done == False) & \
218217
(self.depidx.sum(axis=0) == 0).__array__())
219218

220-
221219
# Sort jobs ready to run first by memory and then by number of threads
222220
# The most resource consuming jobs run first
223221
jobids = sorted(jobids,

nipype/utils/draw_gantt_chart.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,6 @@ def calculate_resource_timeseries(events, resource):
183183

184184
# Iterate through the events
185185
for tdelta, event in sorted(events.items()):
186-
if tdelta > 80:
187-
print 'hi'
188186
if event['event'] == "start":
189187
if resource in event and event[resource] != 'Unkown':
190188
all_res += float(event[resource])

0 commit comments

Comments
 (0)