Skip to content

Commit 25dd1fc

Browse files
shnizzedymgxd
andcommitted
🎨 next ≠ continue
Ref #3290 (comment), #3290 (comment) Co-authored-by: Mathias Goncalves <[email protected]>
1 parent 3a5d604 commit 25dd1fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: nipype/utils/draw_gantt_chart.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -144,14 +144,14 @@ def calculate_resource_timeseries(events, resource):
144144
try:
145145
all_res += float(event[resource])
146146
except ValueError:
147-
next
147+
continue
148148
current_time = event["start"]
149149
elif event["event"] == "finish":
150150
if resource in event:
151151
try:
152152
all_res -= float(event[resource])
153153
except ValueError:
154-
next
154+
continue
155155
current_time = event["finish"]
156156
res[current_time] = all_res
157157

0 commit comments

Comments
 (0)