Skip to content

Commit fde3e74

Browse files
shnizzedymgxd
andcommitted
🎨 next ≠ continue
Ref nipy#3290 (comment), nipy#3290 (comment) Co-authored-by: Mathias Goncalves <goncalves.mathias@gmail.com>
1 parent b992883 commit fde3e74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nipype/utils/draw_gantt_chart.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -159,14 +159,14 @@ def calculate_resource_timeseries(events, resource):
159159
try:
160160
all_res += float(event[resource])
161161
except ValueError:
162-
next
162+
continue
163163
current_time = event["start"]
164164
elif event["event"] == "finish":
165165
if resource in event:
166166
try:
167167
all_res -= float(event[resource])
168168
except ValueError:
169-
next
169+
continue
170170
current_time = event["finish"]
171171
res[current_time] = all_res
172172

0 commit comments

Comments
 (0)